﻿namespace HuaWei
{
    using DevExpress.Utils;
    using DevExpress.XtraEditors;
    using DevExpress.XtraEditors.Controls;
    using DevExpress.XtraEditors.Repository;
    using DevExpress.XtraGrid;
    using DevExpress.XtraGrid.Columns;
    using DevExpress.XtraGrid.Views.Grid;
    using DevExpress.XtraTab;
    using DevExpress.XtraTreeList;
    using DevExpress.XtraTreeList.Columns;
    using HuaWei.BusinessRule;
    using HuaWei.CommClass;
    using HuaWei.Common;
    using HuaWei.DAI;
    using System;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Windows.Forms;

    public class FrmDJLog : Form
    {
        private string _str;
        private string _str1;
        private string _str2;
        private string _str3;
        private RepositoryItemComboBox AuMcPqedEn;
        private BindingSource bindingSource;
        private BindingSource bindingSource1;
        private BindingSource bindingSource10;
        private BindingSource bindingSource11;
        private BindingSource bindingSource12;
        private BindingSource bindingSource13;
        private BindingSource bindingSource14;
        private BindingSource bindingSource2;
        private BindingSource bindingSource3;
        private BindingSource bindingSource4;
        private BindingSource bindingSource5;
        private BindingSource bindingSource6;
        private BindingSource bindingSource7;
        private BindingSource bindingSource8;
        private BindingSource bindingSource9;
        private RepositoryItemCheckEdit bpoclJrxj9;
        private CBaseRule cbaseRule = new CBaseRule();
        private GridColumn colBDS;
        private GridColumn colBQJLS;
        private GridColumn colBQKCDYYFK;
        private GridColumn colBQMKCDYYFK;
        private GridColumn colBQMWC;
        private GridColumn colBQMZFDYYFK;
        private GridColumn colBQSQDYYFK;
        private GridColumn colBQWC;
        private GridColumn colBW;
        private GridColumn colCC;
        private GridColumn colCFJE;
        private GridColumn colCFSJ;
        private GridColumn colCLMC;
        private GridColumn colDFBL;
        private GridColumn colDFJE;
        private GridColumn colDFJE1;
        private GridColumn colDJ;
        private GridColumn colDW;
        private GridColumn colDW1;
        private GridColumn colDW2;
        private GridColumn colHTZJ;
        private TreeListColumn colID;
        private GridColumn colJE;
        private GridColumn colJE1;
        private GridColumn colJG;
        private GridColumn colJG1;
        private TreeListColumn colJGLX;
        private GridColumn colJSBL;
        private GridColumn colJSJG;
        private GridColumn colJSS;
        private GridColumn colLL;
        private GridColumn colPCH;
        private GridColumn colPCJE;
        private GridColumn colPH;
        private GridColumn colPZBH;
        private GridColumn colQDBH;
        private GridColumn colQKE;
        private GridColumn colQQZH;
        private GridColumn colSFRQ;
        private GridColumn colSHR;
        private GridColumn colSHRQ;
        private GridColumn colSHYJ;
        private GridColumn colSL;
        private GridColumn colSPJE;
        private GridColumn colSPRQ;
        private GridColumn colSPYJ;
        private GridColumn colSQMWC;
        private GridColumn colSQYJ;
        private GridColumn colTZBH;
        private GridColumn colXMMC;
        private GridColumn colXMMC1;
        private GridColumn colYFLX;
        private GridColumn colYFRQ;
        private GridColumn colYJE;
        private GridColumn colYL;
        private TreeListColumn colZZMC;
        private DataSet dataSet = new DataSet();
        private HuaWei.Common.dataSets1 dataSets1;
        private GridControl grdChange;
        private GridColumn gridColumn;
        private GridColumn gridColumn1;
        private GridColumn gridColumn2;
        private GridColumn gridColumn25;
        private GridColumn gridColumn26;
        private GridColumn gridColumn27;
        private GridColumn gridColumn28;
        private GridColumn gridColumn3;
        private GridColumn gridColumn30;
        private GridColumn gridColumn31;
        private GridColumn gridColumn32;
        private GridColumn gridColumn34;
        private GridColumn gridColumn35;
        private GridColumn gridColumn36;
        private GridColumn gridColumn37;
        private GridColumn gridColumn38;
        private GridColumn gridColumn39;
        private GridColumn gridColumn4;
        private GridColumn gridColumn5;
        private GridColumn gridColumn6;
        private GridColumn gridColumn7;
        private GridColumn gridColumn92;
        private GridControl gridControl10;
        private GridControl gridControl11;
        private GridControl gridControl16;
        private GridControl gridControl17;
        private GridControl gridControl18;
        private GridControl gridControl20;
        private GridControl gridControl24;
        private GridControl gridControl25;
        private GridControl gridControl26;
        private GridControl gridControl3;
        private GridControl gridControl4;
        private GridControl gridControl8;
        private GridControl gridControl9;
        private GridView gridView;
        private GridView gridView1;
        private GridView gridView10;
        private GridView gridView11;
        private GridView gridView12;
        private GridView gridView2;
        private GridView gridView3;
        private GridView gridView4;
        private GridView gridView5;
        private GridView gridView6;
        private GridView gridView7;
        private GridView gridView8;
        private GridView gridView9;
        private GroupControl groupControl1;
        private GroupControl groupControl10;
        private GroupControl groupControl12;
        private GroupControl groupControl14;
        private GroupControl groupControl4;
        private GroupControl groupControl6;
        private GroupControl groupControl8;
        private IContainer icontainer = null;
        private IDataAccess idataAccess = null;
        private GridColumn JqeQiSwkq2;
        private string mmGiRaAop;
        private GridView nPoFulahNA;
        private SplitterControl nyEcXbnHvB;
        private RepositoryItemCheckEdit repositoryItemCheckEdit1;
        private RepositoryItemCheckEdit repositoryItemCheckEdit12;
        private RepositoryItemCheckEdit repositoryItemCheckEdit15;
        private RepositoryItemCheckEdit repositoryItemCheckEdit16;
        private RepositoryItemCheckEdit repositoryItemCheckEdit18;
        private RepositoryItemCheckEdit repositoryItemCheckEdit20;
        private RepositoryItemCheckEdit repositoryItemCheckEdit21;
        private RepositoryItemCheckEdit repositoryItemCheckEdit22;
        private RepositoryItemCheckEdit repositoryItemCheckEdit25;
        private RepositoryItemCheckEdit repositoryItemCheckEdit26;
        private RepositoryItemCheckEdit repositoryItemCheckEdit27;
        private RepositoryItemCheckEdit repositoryItemCheckEdit28;
        private RepositoryItemCheckEdit repositoryItemCheckEdit29;
        private RepositoryItemCheckEdit repositoryItemCheckEdit3;
        private RepositoryItemCheckEdit repositoryItemCheckEdit30;
        private RepositoryItemCheckEdit repositoryItemCheckEdit31;
        private RepositoryItemCheckEdit repositoryItemCheckEdit33;
        private RepositoryItemCheckEdit repositoryItemCheckEdit4;
        private RepositoryItemCheckEdit repositoryItemCheckEdit6;
        private RepositoryItemCheckEdit repositoryItemCheckEdit7;
        private RepositoryItemCheckEdit repositoryItemCheckEdit8;
        private RepositoryItemCheckEdit repositoryItemCheckEdit9;
        private RepositoryItemLookUpEdit repositoryItemLookUpEdit1;
        private GroupControl siycSqEwBi;
        private TreeList tlZZJGXX;
        private XtraTabPage tpBG;
        private XtraTabPage tpCFKLX;
        private XtraTabPage tpCLYFK;
        private XtraTabPage tpDYYFK;
        private XtraTabPage tpJGTZ;
        private XtraTabPage tpJL;
        private XtraTabPage tpSPJE;
        private XtraTabControl xtraTabControl1;
        private XtraTabControl xtraTabControl3;
        private XtraTabControl xtraTabControl5;
        private XtraTabControl xtraTabControl6;
        private XtraTabControl xtraTabControl9;
        private XtraTabPage xtraTabPage1;
        private XtraTabPage xtraTabPage10;
        private XtraTabPage xtraTabPage14;
        private XtraTabPage xtraTabPage18;
        private XtraTabPage xtraTabPage19;
        private XtraTabPage xtraTabPage2;
        private XtraTabPage xtraTabPage9;

        public FrmDJLog()
        {
            this.InitializeComponent();
        }

        private void bindingSource_PositionChanged(object sender, EventArgs e)
        {
            string objId = DHelp.GetObjId(this.bindingSource);
            this.dataSet.Tables["QDJL_JSS"].DefaultView.RowFilter = "pid = '" + objId + "' and SID='" + this._str + "'";
            this.dataSet.Tables["QDJL_MX"].DefaultView.RowFilter = "pid = '" + objId + "' and SID='" + this._str + "'";
        }

        private void bindingSource11_PositionChanged(object sender, EventArgs e)
        {
            string objId = DHelp.GetObjId(this.bindingSource11);
            this.dataSet.Tables["QTJL_CLYFKCL"].DefaultView.RowFilter = "pid ='" + objId + "' and SID='" + this._str + "'";
        }

        private void bindingSource12_PositionChanged(object sender, EventArgs e)
        {
            string objId = DHelp.GetObjId(this.bindingSource12);
            this.dataSet.Tables["QTJL_CLYFKCLPC"].DefaultView.RowFilter = "pid ='" + objId + "' and SID='" + this._str + "'";
        }

        private void bindingSource14_PositionChanged(object sender, EventArgs e)
        {
            this._str = DHelp.GetObjId(this.bindingSource14);
            if (this.dataSet.Tables[this._str3] != null)
            {
                this.dataSet.Tables[this._str3].DefaultView.RowFilter = "SID = 'empty**##'";
                this.dataSet.Tables[this._str3].DefaultView.RowFilter = "SID ='" + this._str + "'";
            }
        }

        private void bindingSource5_PositionChanged(object sender, EventArgs e)
        {
            string objId = DHelp.GetObjId(this.bindingSource5);
            this.dataSet.Tables["BGQDJL_JSS"].DefaultView.RowFilter = "pid ='" + objId + "' and SID='" + this._str + "'";
            this.dataSet.Tables["BGQDJL_MX"].DefaultView.RowFilter = "pid ='" + objId + "' and SID='" + this._str + "'";
        }

        private void bindingSource7_PositionChanged(object sender, EventArgs e)
        {
            string objId = DHelp.GetObjId(this.bindingSource7);
            this.dataSet.Tables["QTJL_JGTZMX"].DefaultView.RowFilter = "pid ='" + objId + "' and SID='" + this._str + "'";
        }

        public string BuildSQLParam(string sql)
        {
            return sql.Replace("#BDID#", this._str1).Replace("#QCID#", this._str2);
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.icontainer != null))
            {
                this.icontainer.Dispose();
            }
            base.Dispose(disposing);
        }

        public DataTable ExecuteDataSetEmpty(DataSet ds, string tableName)
        {
            string exeStr = "select * from " + tableName + " where 1=2";
            ds.Merge(this.idataAccess.ExecuteDataSet(exeStr, CommandType.Text, tableName));
            return ds.Tables[tableName];
        }

        public DataTable ExecuteDataSetEx(string exeStr, string tableName)
        {
            string str = this.BuildSQLParam(exeStr);
            return this.idataAccess.ExecuteDataSet(str, (CommandType)1, tableName).Tables[tableName];
        }

        public DataTable ExecuteDataSetEx(DataSet ds, string exeStr, string tableName)
        {
            string str = this.BuildSQLParam(exeStr);
            ds.Merge(this.idataAccess.ExecuteDataSet(str, CommandType.Text, tableName));
            return ds.Tables[tableName];
        }

        public bool IniForm(string tableName, string bdid, string qcid, string djid)
        {
            this._str3 = tableName;
            this._str1 = bdid;
            this._str2 = qcid;
            this.mmGiRaAop = djid;
            this.idataAccess = DBHelp.IniIDA();
            string exeStr = CSQL.TREE_JG.Replace("#ID#", GParams.LoginId).Replace("#SELECT_ALL#", "select id,pid,mc,jglx from ZZJGXX").Replace("#SELECT_ID#", "select id from ZZJGXX").Replace("#SELECT_PID#", "select pid from ZZJGXX");
            this.ExecuteDataSetEx(this.dataSet, exeStr, "ZZJGXX");
            this.bindingSource14.DataSource = this.dataSet.Tables["ZZJGXX"];
            this.method1(tableName);
            this.method();
            this.bindingSource14.Position = 0;
            return true;
        }

        private void InitializeComponent()
        {
            this.icontainer = new Container();
            this.groupControl1 = new GroupControl();
            this.xtraTabControl1 = new XtraTabControl();
            this.xtraTabPage1 = new XtraTabPage();
            this.gridControl4 = new GridControl();
            this.bindingSource2 = new BindingSource(this.icontainer);
            this.dataSets1 = new HuaWei.Common.dataSets1();
            this.gridView3 = new GridView();
            this.colQDBH = new GridColumn();
            this.colXMMC = new GridColumn();
            this.colDW = new GridColumn();
            this.colBQJLS = new GridColumn();
            this.repositoryItemCheckEdit4 = new RepositoryItemCheckEdit();
            this.xtraTabPage2 = new XtraTabPage();
            this.gridControl3 = new GridControl();
            this.bindingSource1 = new BindingSource(this.icontainer);
            this.gridView5 = new GridView();
            this.colBDS = new GridColumn();
            this.colJSS = new GridColumn();
            this.colJSJG = new GridColumn();
            this.repositoryItemCheckEdit3 = new RepositoryItemCheckEdit();
            this.grdChange = new GridControl();
            this.bindingSource = new BindingSource(this.icontainer);
            this.gridView1 = new GridView();
            this.colQQZH = new GridColumn();
            this.colTZBH = new GridColumn();
            this.colBW = new GridColumn();
            this.gridColumn = new GridColumn();
            this.colCC = new GridColumn();
            this.colJSBL = new GridColumn();
            this.colPZBH = new GridColumn();
            this.repositoryItemCheckEdit1 = new RepositoryItemCheckEdit();
            this.repositoryItemCheckEdit25 = new RepositoryItemCheckEdit();
            this.repositoryItemCheckEdit27 = new RepositoryItemCheckEdit();
            this.xtraTabControl3 = new XtraTabControl();
            this.tpJL = new XtraTabPage();
            this.tpBG = new XtraTabPage();
            this.groupControl4 = new GroupControl();
            this.xtraTabControl5 = new XtraTabControl();
            this.xtraTabPage9 = new XtraTabPage();
            this.gridControl8 = new GridControl();
            this.bindingSource3 = new BindingSource(this.icontainer);
            this.gridView = new GridView();
            this.gridColumn25 = new GridColumn();
            this.gridColumn26 = new GridColumn();
            this.gridColumn27 = new GridColumn();
            this.gridColumn28 = new GridColumn();
            this.repositoryItemCheckEdit6 = new RepositoryItemCheckEdit();
            this.xtraTabPage10 = new XtraTabPage();
            this.gridControl9 = new GridControl();
            this.bindingSource4 = new BindingSource(this.icontainer);
            this.gridView2 = new GridView();
            this.gridColumn30 = new GridColumn();
            this.gridColumn31 = new GridColumn();
            this.gridColumn32 = new GridColumn();
            this.repositoryItemCheckEdit7 = new RepositoryItemCheckEdit();
            this.gridControl10 = new GridControl();
            this.bindingSource5 = new BindingSource(this.icontainer);
            this.gridView4 = new GridView();
            this.gridColumn34 = new GridColumn();
            this.gridColumn35 = new GridColumn();
            this.gridColumn36 = new GridColumn();
            this.gridColumn37 = new GridColumn();
            this.gridColumn38 = new GridColumn();
            this.gridColumn39 = new GridColumn();
            this.JqeQiSwkq2 = new GridColumn();
            this.repositoryItemCheckEdit8 = new RepositoryItemCheckEdit();
            this.repositoryItemCheckEdit28 = new RepositoryItemCheckEdit();
            this.tpJGTZ = new XtraTabPage();
            this.groupControl6 = new GroupControl();
            this.xtraTabControl6 = new XtraTabControl();
            this.xtraTabPage14 = new XtraTabPage();
            this.gridControl11 = new GridControl();
            this.bindingSource6 = new BindingSource(this.icontainer);
            this.gridView6 = new GridView();
            this.colXMMC1 = new GridColumn();
            this.colDW1 = new GridColumn();
            this.colJG1 = new GridColumn();
            this.colYL = new GridColumn();
            this.colJG = new GridColumn();
            this.colYJE = new GridColumn();
            this.repositoryItemCheckEdit9 = new RepositoryItemCheckEdit();
            this.gridControl16 = new GridControl();
            this.bindingSource7 = new BindingSource(this.icontainer);
            this.gridView7 = new GridView();
            this.colPCH = new GridColumn();
            this.colPCJE = new GridColumn();
            this.repositoryItemCheckEdit12 = new RepositoryItemCheckEdit();
            this.repositoryItemCheckEdit29 = new RepositoryItemCheckEdit();
            this.tpSPJE = new XtraTabPage();
            this.groupControl8 = new GroupControl();
            this.gridControl18 = new GridControl();
            this.bindingSource8 = new BindingSource(this.icontainer);
            this.gridView8 = new GridView();
            this.colSPRQ = new GridColumn();
            this.colSPJE = new GridColumn();
            this.colSPYJ = new GridColumn();
            this.repositoryItemCheckEdit16 = new RepositoryItemCheckEdit();
            this.repositoryItemCheckEdit26 = new RepositoryItemCheckEdit();
            this.repositoryItemCheckEdit30 = new RepositoryItemCheckEdit();
            this.tpCFKLX = new XtraTabPage();
            this.groupControl10 = new GroupControl();
            this.gridControl17 = new GridControl();
            this.bindingSource9 = new BindingSource(this.icontainer);
            this.gridView9 = new GridView();
            this.colYFRQ = new GridColumn();
            this.colSFRQ = new GridColumn();
            this.colCFSJ = new GridColumn();
            this.colLL = new GridColumn();
            this.colCFJE = new GridColumn();
            this.colYFLX = new GridColumn();
            this.repositoryItemCheckEdit15 = new RepositoryItemCheckEdit();
            this.repositoryItemCheckEdit31 = new RepositoryItemCheckEdit();
            this.tpDYYFK = new XtraTabPage();
            this.groupControl12 = new GroupControl();
            this.gridControl20 = new GridControl();
            this.bindingSource10 = new BindingSource(this.icontainer);
            this.gridView10 = new GridView();
            this.colBQSQDYYFK = new GridColumn();
            this.colBQMZFDYYFK = new GridColumn();
            this.colSQYJ = new GridColumn();
            this.colHTZJ = new GridColumn();
            this.gridColumn1 = new GridColumn();
            this.gridColumn2 = new GridColumn();
            this.colQKE = new GridColumn();
            this.colBQKCDYYFK = new GridColumn();
            this.colBQMKCDYYFK = new GridColumn();
            this.colBQMWC = new GridColumn();
            this.colSQMWC = new GridColumn();
            this.colBQWC = new GridColumn();
            this.repositoryItemCheckEdit18 = new RepositoryItemCheckEdit();
            this.bpoclJrxj9 = new RepositoryItemCheckEdit();
            this.tpCLYFK = new XtraTabPage();
            this.groupControl14 = new GroupControl();
            this.xtraTabControl9 = new XtraTabControl();
            this.xtraTabPage18 = new XtraTabPage();
            this.gridControl24 = new GridControl();
            this.bindingSource12 = new BindingSource(this.icontainer);
            this.gridView11 = new GridView();
            this.colCLMC = new GridColumn();
            this.colDW2 = new GridColumn();
            this.colJE = new GridColumn();
            this.colDFJE = new GridColumn();
            this.gridColumn92 = new GridColumn();
            this.repositoryItemCheckEdit20 = new RepositoryItemCheckEdit();
            this.xtraTabPage19 = new XtraTabPage();
            this.gridControl25 = new GridControl();
            this.bindingSource13 = new BindingSource(this.icontainer);
            this.nPoFulahNA = new GridView();
            this.colPH = new GridColumn();
            this.colDJ = new GridColumn();
            this.colSL = new GridColumn();
            this.colJE1 = new GridColumn();
            this.colDFBL = new GridColumn();
            this.colDFJE1 = new GridColumn();
            this.repositoryItemCheckEdit21 = new RepositoryItemCheckEdit();
            this.gridControl26 = new GridControl();
            this.bindingSource11 = new BindingSource(this.icontainer);
            this.gridView12 = new GridView();
            this.gridColumn3 = new GridColumn();
            this.gridColumn4 = new GridColumn();
            this.gridColumn5 = new GridColumn();
            this.gridColumn6 = new GridColumn();
            this.gridColumn7 = new GridColumn();
            this.repositoryItemCheckEdit22 = new RepositoryItemCheckEdit();
            this.repositoryItemCheckEdit33 = new RepositoryItemCheckEdit();
            this.siycSqEwBi = new GroupControl();
            this.tlZZJGXX = new TreeList();
            this.colID = new TreeListColumn();
            this.colZZMC = new TreeListColumn();
            this.colJGLX = new TreeListColumn();
            this.repositoryItemLookUpEdit1 = new RepositoryItemLookUpEdit();
            this.bindingSource14 = new BindingSource(this.icontainer);
            this.AuMcPqedEn = new RepositoryItemComboBox();
            this.nyEcXbnHvB = new SplitterControl();
            this.colSHR = new GridColumn();
            this.colSHYJ = new GridColumn();
            this.colSHRQ = new GridColumn();
            this.groupControl1.BeginInit();
            this.groupControl1.SuspendLayout();
            this.xtraTabControl1.BeginInit();
            this.xtraTabControl1.SuspendLayout();
            this.xtraTabPage1.SuspendLayout();
            this.gridControl4.BeginInit();
            ((ISupportInitialize) this.bindingSource2).BeginInit();
            this.gridView3.BeginInit();
            this.repositoryItemCheckEdit4.BeginInit();
            this.xtraTabPage2.SuspendLayout();
            this.gridControl3.BeginInit();
            ((ISupportInitialize) this.bindingSource1).BeginInit();
            this.gridView5.BeginInit();
            this.repositoryItemCheckEdit3.BeginInit();
            this.grdChange.BeginInit();
            ((ISupportInitialize) this.bindingSource).BeginInit();
            this.gridView1.BeginInit();
            this.repositoryItemCheckEdit1.BeginInit();
            this.repositoryItemCheckEdit25.BeginInit();
            this.repositoryItemCheckEdit27.BeginInit();
            this.xtraTabControl3.BeginInit();
            this.xtraTabControl3.SuspendLayout();
            this.tpJL.SuspendLayout();
            this.tpBG.SuspendLayout();
            this.groupControl4.BeginInit();
            this.groupControl4.SuspendLayout();
            this.xtraTabControl5.BeginInit();
            this.xtraTabControl5.SuspendLayout();
            this.xtraTabPage9.SuspendLayout();
            this.gridControl8.BeginInit();
            ((ISupportInitialize) this.bindingSource3).BeginInit();
            this.gridView.BeginInit();
            this.repositoryItemCheckEdit6.BeginInit();
            this.xtraTabPage10.SuspendLayout();
            this.gridControl9.BeginInit();
            ((ISupportInitialize) this.bindingSource4).BeginInit();
            this.gridView2.BeginInit();
            this.repositoryItemCheckEdit7.BeginInit();
            this.gridControl10.BeginInit();
            ((ISupportInitialize) this.bindingSource5).BeginInit();
            this.gridView4.BeginInit();
            this.repositoryItemCheckEdit8.BeginInit();
            this.repositoryItemCheckEdit28.BeginInit();
            this.tpJGTZ.SuspendLayout();
            this.groupControl6.BeginInit();
            this.groupControl6.SuspendLayout();
            this.xtraTabControl6.BeginInit();
            this.xtraTabControl6.SuspendLayout();
            this.xtraTabPage14.SuspendLayout();
            this.gridControl11.BeginInit();
            ((ISupportInitialize) this.bindingSource6).BeginInit();
            this.gridView6.BeginInit();
            this.repositoryItemCheckEdit9.BeginInit();
            this.gridControl16.BeginInit();
            ((ISupportInitialize) this.bindingSource7).BeginInit();
            this.gridView7.BeginInit();
            this.repositoryItemCheckEdit12.BeginInit();
            this.repositoryItemCheckEdit29.BeginInit();
            this.tpSPJE.SuspendLayout();
            this.groupControl8.BeginInit();
            this.groupControl8.SuspendLayout();
            this.gridControl18.BeginInit();
            ((ISupportInitialize) this.bindingSource8).BeginInit();
            this.gridView8.BeginInit();
            this.repositoryItemCheckEdit16.BeginInit();
            this.repositoryItemCheckEdit26.BeginInit();
            this.repositoryItemCheckEdit30.BeginInit();
            this.tpCFKLX.SuspendLayout();
            this.groupControl10.BeginInit();
            this.groupControl10.SuspendLayout();
            this.gridControl17.BeginInit();
            ((ISupportInitialize) this.bindingSource9).BeginInit();
            this.gridView9.BeginInit();
            this.repositoryItemCheckEdit15.BeginInit();
            this.repositoryItemCheckEdit31.BeginInit();
            this.tpDYYFK.SuspendLayout();
            this.groupControl12.BeginInit();
            this.groupControl12.SuspendLayout();
            this.gridControl20.BeginInit();
            ((ISupportInitialize) this.bindingSource10).BeginInit();
            this.gridView10.BeginInit();
            this.repositoryItemCheckEdit18.BeginInit();
            this.bpoclJrxj9.BeginInit();
            this.tpCLYFK.SuspendLayout();
            this.groupControl14.BeginInit();
            this.groupControl14.SuspendLayout();
            this.xtraTabControl9.BeginInit();
            this.xtraTabControl9.SuspendLayout();
            this.xtraTabPage18.SuspendLayout();
            this.gridControl24.BeginInit();
            ((ISupportInitialize) this.bindingSource12).BeginInit();
            this.gridView11.BeginInit();
            this.repositoryItemCheckEdit20.BeginInit();
            this.xtraTabPage19.SuspendLayout();
            this.gridControl25.BeginInit();
            ((ISupportInitialize) this.bindingSource13).BeginInit();
            this.nPoFulahNA.BeginInit();
            this.repositoryItemCheckEdit21.BeginInit();
            this.gridControl26.BeginInit();
            ((ISupportInitialize) this.bindingSource11).BeginInit();
            this.gridView12.BeginInit();
            this.repositoryItemCheckEdit22.BeginInit();
            this.repositoryItemCheckEdit33.BeginInit();
            this.siycSqEwBi.BeginInit();
            this.siycSqEwBi.SuspendLayout();
            this.tlZZJGXX.BeginInit();
            this.repositoryItemLookUpEdit1.BeginInit();
            ((ISupportInitialize) this.bindingSource14).BeginInit();
            this.AuMcPqedEn.BeginInit();
            base.SuspendLayout();
            this.groupControl1.Controls.Add(this.xtraTabControl1);
            this.groupControl1.Controls.Add(this.grdChange);
            this.groupControl1.Dock = DockStyle.Fill;
            this.groupControl1.Location = new Point(0, 0);
            this.groupControl1.Name = "groupControl1";
            this.groupControl1.Size = new Size(0x20b, 0x1b3);
            this.groupControl1.TabIndex = 15;
            this.xtraTabControl1.Dock = DockStyle.Fill;
            this.xtraTabControl1.Location = new Point(2, 0xdf);
            this.xtraTabControl1.Name = "xtraTabControl1";
            this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1;
            this.xtraTabControl1.Size = new Size(0x207, 210);
            this.xtraTabControl1.TabIndex = 6;
            this.xtraTabControl1.TabPages.AddRange(new XtraTabPage[] { this.xtraTabPage1, this.xtraTabPage2 });
            this.xtraTabPage1.Controls.Add(this.gridControl4);
            this.xtraTabPage1.Name = "xtraTabPage1";
            this.xtraTabPage1.Size = new Size(0x200, 180);
            this.xtraTabPage1.Text = "清单信息";
            this.gridControl4.DataMember = null;
            this.gridControl4.DataSource = this.bindingSource2;
            this.gridControl4.Dock = DockStyle.Fill;
            this.gridControl4.EmbeddedNavigator.Buttons.Append.Visible = false;
            this.gridControl4.EmbeddedNavigator.Buttons.CancelEdit.Visible = false;
            this.gridControl4.EmbeddedNavigator.Buttons.Edit.Visible = false;
            this.gridControl4.EmbeddedNavigator.Buttons.EndEdit.Visible = false;
            this.gridControl4.EmbeddedNavigator.Buttons.Remove.Visible = false;
            this.gridControl4.Location = new Point(0, 0);
            this.gridControl4.MainView = this.gridView3;
            this.gridControl4.Name = "gridControl4";
            this.gridControl4.RepositoryItems.AddRange(new RepositoryItem[] { this.repositoryItemCheckEdit4 });
            this.gridControl4.Size = new Size(0x200, 180);
            this.gridControl4.TabIndex = 3;
            this.gridControl4.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView3 });
            this.bindingSource2.DataSource = this.dataSets1;
            this.bindingSource2.Position = 0;
            this.dataSets1.DataSetName = "DataSets";
            this.dataSets1.SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
            this.gridView3.Columns.AddRange(new GridColumn[] { this.colQDBH, this.colXMMC, this.colDW, this.colBQJLS });
            this.gridView3.GridControl = this.gridControl4;
            this.gridView3.Name = "gridView3";
            this.gridView3.OptionsBehavior.Editable = false;
            this.gridView3.OptionsCustomization.AllowFilter = false;
            this.gridView3.OptionsCustomization.AllowGroup = false;
            this.gridView3.OptionsCustomization.AllowSort = false;
            this.gridView3.OptionsNavigation.EnterMoveNextColumn = true;
            this.gridView3.OptionsView.ColumnAutoWidth = false;
            this.gridView3.OptionsView.ShowGroupPanel = false;
            this.colQDBH.Caption = "清单编号";
            this.colQDBH.FieldName = "QDBH";
            this.colQDBH.Name = "colQDBH";
            this.colQDBH.OptionsColumn.AllowEdit = false;
            this.colQDBH.OptionsColumn.ReadOnly = true;
            this.colQDBH.Visible = true;
            this.colQDBH.VisibleIndex = 0;
            this.colQDBH.Width = 0x48;
            this.colXMMC.Caption = "项目名称";
            this.colXMMC.FieldName = "QDMC";
            this.colXMMC.Name = "colXMMC";
            this.colXMMC.OptionsColumn.AllowEdit = false;
            this.colXMMC.OptionsColumn.ReadOnly = true;
            this.colXMMC.Visible = true;
            this.colXMMC.VisibleIndex = 1;
            this.colXMMC.Width = 0xa8;
            this.colDW.Caption = "单位";
            this.colDW.FieldName = "DW";
            this.colDW.Name = "colDW";
            this.colDW.OptionsColumn.AllowEdit = false;
            this.colDW.OptionsColumn.ReadOnly = true;
            this.colDW.Visible = true;
            this.colDW.VisibleIndex = 2;
            this.colDW.Width = 0x36;
            this.colBQJLS.Caption = "本期计量数量";
            this.colBQJLS.FieldName = "BQJLS";
            this.colBQJLS.Name = "colBQJLS";
            this.colBQJLS.Visible = true;
            this.colBQJLS.VisibleIndex = 3;
            this.colBQJLS.Width = 0x60;
            this.repositoryItemCheckEdit4.AutoHeight = false;
            this.repositoryItemCheckEdit4.DisplayValueChecked = "1";
            this.repositoryItemCheckEdit4.DisplayValueUnchecked = "0";
            this.repositoryItemCheckEdit4.Name = "repositoryItemCheckEdit4";
            this.repositoryItemCheckEdit4.ValueChecked = 1;
            this.repositoryItemCheckEdit4.ValueUnchecked = 0;
            this.xtraTabPage2.Controls.Add(this.gridControl3);
            this.xtraTabPage2.Name = "xtraTabPage2";
            this.xtraTabPage2.Size = new Size(0x200, 180);
            this.xtraTabPage2.Text = "计算表达式";
            this.gridControl3.DataSource = this.bindingSource1;
            this.gridControl3.Dock = DockStyle.Fill;
            this.gridControl3.EmbeddedNavigator.Buttons.Edit.Visible = false;
            this.gridControl3.Location = new Point(0, 0);
            this.gridControl3.MainView = this.gridView5;
            this.gridControl3.Name = "gridControl3";
            this.gridControl3.RepositoryItems.AddRange(new RepositoryItem[] { this.repositoryItemCheckEdit3 });
            this.gridControl3.Size = new Size(0x200, 180);
            this.gridControl3.TabIndex = 2;
            this.gridControl3.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView5 });
            this.bindingSource1.DataSource = this.dataSets1;
            this.bindingSource1.Position = 0;
            this.gridView5.Columns.AddRange(new GridColumn[] { this.colBDS, this.colJSS, this.colJSJG });
            this.gridView5.GridControl = this.gridControl3;
            this.gridView5.Name = "gridView5";
            this.gridView5.OptionsCustomization.AllowFilter = false;
            this.gridView5.OptionsCustomization.AllowSort = false;
            this.gridView5.OptionsView.ColumnAutoWidth = false;
            this.gridView5.OptionsView.ShowGroupPanel = false;
            this.colBDS.Caption = "表达式";
            this.colBDS.FieldName = "BDS";
            this.colBDS.Name = "colBDS";
            this.colBDS.Visible = true;
            this.colBDS.VisibleIndex = 0;
            this.colBDS.Width = 0xaf;
            this.colJSS.Caption = "计算式";
            this.colJSS.FieldName = "JSS";
            this.colJSS.Name = "colJSS";
            this.colJSS.Visible = true;
            this.colJSS.VisibleIndex = 1;
            this.colJSS.Width = 170;
            this.colJSJG.Caption = "计算结果";
            this.colJSJG.FieldName = "JSJG";
            this.colJSJG.Name = "colJSJG";
            this.colJSJG.Visible = true;
            this.colJSJG.VisibleIndex = 2;
            this.colJSJG.Width = 0x57;
            this.repositoryItemCheckEdit3.AutoHeight = false;
            this.repositoryItemCheckEdit3.DisplayValueChecked = "1";
            this.repositoryItemCheckEdit3.DisplayValueUnchecked = "0";
            this.repositoryItemCheckEdit3.Name = "repositoryItemCheckEdit3";
            this.repositoryItemCheckEdit3.ValueChecked = 1;
            this.repositoryItemCheckEdit3.ValueUnchecked = 0;
            this.grdChange.DataSource = this.bindingSource;
            this.grdChange.Dock = DockStyle.Top;
            this.grdChange.EmbeddedNavigator.Buttons.Edit.Visible = false;
            this.grdChange.Location = new Point(2, 0x17);
            this.grdChange.MainView = this.gridView1;
            this.grdChange.Name = "grdChange";
            this.grdChange.RepositoryItems.AddRange(new RepositoryItem[] { this.repositoryItemCheckEdit1, this.repositoryItemCheckEdit25, this.repositoryItemCheckEdit27 });
            this.grdChange.Size = new Size(0x207, 200);
            this.grdChange.TabIndex = 5;
            this.grdChange.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1 });
            this.bindingSource.DataSource = this.dataSets1;
            this.bindingSource.Position = 0;
            this.gridView1.Columns.AddRange(new GridColumn[] { this.colQQZH, this.colTZBH, this.colBW, this.gridColumn, this.colCC, this.colJSBL, this.colPZBH });
            this.gridView1.GridControl = this.grdChange;
            this.gridView1.Name = "gridView1";
            this.gridView1.OptionsCustomization.AllowFilter = false;
            this.gridView1.OptionsCustomization.AllowSort = false;
            this.gridView1.OptionsView.ColumnAutoWidth = false;
            this.gridView1.OptionsView.ShowGroupPanel = false;
            this.colQQZH.Caption = "起讫桩号";
            this.colQQZH.FieldName = "QQZH";
            this.colQQZH.Name = "colQQZH";
            this.colQQZH.OptionsColumn.ReadOnly = true;
            this.colQQZH.Visible = true;
            this.colQQZH.VisibleIndex = 1;
            this.colQQZH.Width = 0x3d;
            this.colTZBH.Caption = "图纸编号";
            this.colTZBH.FieldName = "TZBH";
            this.colTZBH.Name = "colTZBH";
            this.colTZBH.OptionsColumn.ReadOnly = true;
            this.colTZBH.Visible = true;
            this.colTZBH.VisibleIndex = 2;
            this.colTZBH.Width = 60;
            this.colBW.Caption = "部位";
            this.colBW.FieldName = "BW";
            this.colBW.Name = "colBW";
            this.colBW.OptionsColumn.ReadOnly = true;
            this.colBW.Visible = true;
            this.colBW.VisibleIndex = 3;
            this.colBW.Width = 0x24;
            this.gridColumn.Caption = "中间交工证书编号";
            this.gridColumn.FieldName = "ZJJGZSBH";
            this.gridColumn.Name = "colZJJGZSBH";
            this.gridColumn.OptionsColumn.ReadOnly = true;
            this.gridColumn.Visible = true;
            this.gridColumn.VisibleIndex = 4;
            this.gridColumn.Width = 0x6c;
            this.colCC.Caption = "尺寸";
            this.colCC.FieldName = "CC";
            this.colCC.Name = "colCC";
            this.colCC.OptionsColumn.ReadOnly = true;
            this.colCC.Visible = true;
            this.colCC.VisibleIndex = 5;
            this.colJSBL.Caption = "计算变量";
            this.colJSBL.FieldName = "JSBL";
            this.colJSBL.Name = "colJSBL";
            this.colJSBL.OptionsColumn.ReadOnly = true;
            this.colJSBL.Visible = true;
            this.colJSBL.VisibleIndex = 6;
            this.colJSBL.Width = 60;
            this.colPZBH.Caption = "凭证编号";
            this.colPZBH.FieldName = "PZBH";
            this.colPZBH.Name = "colPZBH";
            this.colPZBH.OptionsColumn.ReadOnly = true;
            this.colPZBH.Visible = true;
            this.colPZBH.VisibleIndex = 0;
            this.colPZBH.Width = 0x4e;
            this.repositoryItemCheckEdit1.AutoHeight = false;
            this.repositoryItemCheckEdit1.DisplayValueChecked = "1";
            this.repositoryItemCheckEdit1.DisplayValueUnchecked = "0";
            this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1";
            this.repositoryItemCheckEdit1.ValueChecked = 1;
            this.repositoryItemCheckEdit1.ValueUnchecked = 0;
            this.repositoryItemCheckEdit25.AutoHeight = false;
            this.repositoryItemCheckEdit25.DisplayValueChecked = "1";
            this.repositoryItemCheckEdit25.DisplayValueUnchecked = "0";
            this.repositoryItemCheckEdit25.Name = "repositoryItemCheckEdit25";
            this.repositoryItemCheckEdit25.ValueChecked = 1;
            this.repositoryItemCheckEdit25.ValueUnchecked = 0;
            this.repositoryItemCheckEdit27.AutoHeight = false;
            this.repositoryItemCheckEdit27.Name = "repositoryItemCheckEdit27";
            this.xtraTabControl3.Dock = DockStyle.Fill;
            this.xtraTabControl3.Location = new Point(250, 0);
            this.xtraTabControl3.Name = "xtraTabControl3";
            this.xtraTabControl3.SelectedTabPage = this.tpJL;
            this.xtraTabControl3.ShowTabHeader = DefaultBoolean.True;
            this.xtraTabControl3.Size = new Size(530, 0x1d1);
            this.xtraTabControl3.TabIndex = 0x16;
            this.xtraTabControl3.TabPages.AddRange(new XtraTabPage[] { this.tpJL, this.tpBG, this.tpJGTZ, this.tpSPJE, this.tpCFKLX, this.tpDYYFK, this.tpCLYFK });
            this.tpJL.Controls.Add(this.groupControl1);
            this.tpJL.Name = "tpJL";
            this.tpJL.Size = new Size(0x20b, 0x1b3);
            this.tpJL.Text = "清单计量";
            this.tpBG.Controls.Add(this.groupControl4);
            this.tpBG.Name = "tpBG";
            this.tpBG.Size = new Size(0x20b, 0x1b3);
            this.tpBG.Text = "变更计量";
            this.groupControl4.Controls.Add(this.xtraTabControl5);
            this.groupControl4.Controls.Add(this.gridControl10);
            this.groupControl4.Dock = DockStyle.Fill;
            this.groupControl4.Location = new Point(0, 0);
            this.groupControl4.Name = "groupControl4";
            this.groupControl4.Size = new Size(0x20b, 0x1b3);
            this.groupControl4.TabIndex = 0x13;
            this.groupControl4.Text = "  现有数据";
            this.xtraTabControl5.Dock = DockStyle.Fill;
            this.xtraTabControl5.Location = new Point(2, 0xdf);
            this.xtraTabControl5.Name = "xtraTabControl5";
            this.xtraTabControl5.SelectedTabPage = this.xtraTabPage9;
            this.xtraTabControl5.Size = new Size(0x207, 210);
            this.xtraTabControl5.TabIndex = 6;
            this.xtraTabControl5.TabPages.AddRange(new XtraTabPage[] { this.xtraTabPage9, this.xtraTabPage10 });
            this.xtraTabPage9.Controls.Add(this.gridControl8);
            this.xtraTabPage9.Name = "xtraTabPage9";
            this.xtraTabPage9.Size = new Size(0x200, 180);
            this.xtraTabPage9.Text = "清单信息";
            this.gridControl8.DataMember = null;
            this.gridControl8.DataSource = this.bindingSource3;
            this.gridControl8.Dock = DockStyle.Fill;
            this.gridControl8.EmbeddedNavigator.Buttons.Append.Visible = false;
            this.gridControl8.EmbeddedNavigator.Buttons.CancelEdit.Visible = false;
            this.gridControl8.EmbeddedNavigator.Buttons.Edit.Visible = false;
            this.gridControl8.EmbeddedNavigator.Buttons.EndEdit.Visible = false;
            this.gridControl8.EmbeddedNavigator.Buttons.Remove.Visible = false;
            this.gridControl8.Location = new Point(0, 0);
            this.gridControl8.MainView = this.gridView;
            this.gridControl8.Name = "gridControl8";
            this.gridControl8.RepositoryItems.AddRange(new RepositoryItem[] { this.repositoryItemCheckEdit6 });
            this.gridControl8.Size = new Size(0x200, 180);
            this.gridControl8.TabIndex = 3;
            this.gridControl8.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView });
            this.gridView.Columns.AddRange(new GridColumn[] { this.gridColumn25, this.gridColumn26, this.gridColumn27, this.gridColumn28 });
            this.gridView.GridControl = this.gridControl8;
            this.gridView.Name = "gridView10";
            this.gridView.OptionsBehavior.Editable = false;
            this.gridView.OptionsCustomization.AllowFilter = false;
            this.gridView.OptionsCustomization.AllowGroup = false;
            this.gridView.OptionsCustomization.AllowSort = false;
            this.gridView.OptionsNavigation.EnterMoveNextColumn = true;
            this.gridView.OptionsView.ColumnAutoWidth = false;
            this.gridView.OptionsView.ShowGroupPanel = false;
            this.gridColumn25.Caption = "清单编号";
            this.gridColumn25.FieldName = "QDBH";
            this.gridColumn25.Name = "gridColumn25";
            this.gridColumn25.OptionsColumn.AllowEdit = false;
            this.gridColumn25.OptionsColumn.ReadOnly = true;
            this.gridColumn25.Visible = true;
            this.gridColumn25.VisibleIndex = 0;
            this.gridColumn25.Width = 0x48;
            this.gridColumn26.Caption = "项目名称";
            this.gridColumn26.FieldName = "QDMC";
            this.gridColumn26.Name = "gridColumn26";
            this.gridColumn26.OptionsColumn.AllowEdit = false;
            this.gridColumn26.OptionsColumn.ReadOnly = true;
            this.gridColumn26.Visible = true;
            this.gridColumn26.VisibleIndex = 1;
            this.gridColumn26.Width = 0xa8;
            this.gridColumn27.Caption = "单位";
            this.gridColumn27.FieldName = "DW";
            this.gridColumn27.Name = "gridColumn27";
            this.gridColumn27.OptionsColumn.AllowEdit = false;
            this.gridColumn27.OptionsColumn.ReadOnly = true;
            this.gridColumn27.Visible = true;
            this.gridColumn27.VisibleIndex = 2;
            this.gridColumn27.Width = 0x36;
            this.gridColumn28.Caption = "本期计量数量";
            this.gridColumn28.FieldName = "BQJLS";
            this.gridColumn28.Name = "gridColumn28";
            this.gridColumn28.Visible = true;
            this.gridColumn28.VisibleIndex = 3;
            this.gridColumn28.Width = 0x60;
            this.repositoryItemCheckEdit6.AutoHeight = false;
            this.repositoryItemCheckEdit6.DisplayValueChecked = "1";
            this.repositoryItemCheckEdit6.DisplayValueUnchecked = "0";
            this.repositoryItemCheckEdit6.Name = "repositoryItemCheckEdit6";
            this.repositoryItemCheckEdit6.ValueChecked = 1;
            this.repositoryItemCheckEdit6.ValueUnchecked = 0;
            this.xtraTabPage10.Controls.Add(this.gridControl9);
            this.xtraTabPage10.Name = "xtraTabPage10";
            this.xtraTabPage10.Size = new Size(0x200, 180);
            this.xtraTabPage10.Text = "计算表达式";
            this.gridControl9.DataMember = null;
            this.gridControl9.DataSource = this.bindingSource4;
            this.gridControl9.Dock = DockStyle.Fill;
            this.gridControl9.EmbeddedNavigator.Buttons.Edit.Visible = false;
            this.gridControl9.Location = new Point(0, 0);
            this.gridControl9.MainView = this.gridView2;
            this.gridControl9.Name = "gridControl9";
            this.gridControl9.RepositoryItems.AddRange(new RepositoryItem[] { this.repositoryItemCheckEdit7 });
            this.gridControl9.Size = new Size(0x200, 180);
            this.gridControl9.TabIndex = 2;
            this.gridControl9.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView2 });
            this.gridView2.Columns.AddRange(new GridColumn[] { this.gridColumn30, this.gridColumn31, this.gridColumn32 });
            this.gridView2.GridControl = this.gridControl9;
            this.gridView2.Name = "gridView11";
            this.gridView2.OptionsCustomization.AllowFilter = false;
            this.gridView2.OptionsCustomization.AllowSort = false;
            this.gridView2.OptionsView.ColumnAutoWidth = false;
            this.gridView2.OptionsView.ShowGroupPanel = false;
            this.gridColumn30.Caption = "表达式";
            this.gridColumn30.FieldName = "BDS";
            this.gridColumn30.Name = "gridColumn30";
            this.gridColumn30.Visible = true;
            this.gridColumn30.VisibleIndex = 0;
            this.gridColumn30.Width = 0xaf;
            this.gridColumn31.Caption = "计算式";
            this.gridColumn31.FieldName = "JSS";
            this.gridColumn31.Name = "gridColumn31";
            this.gridColumn31.Visible = true;
            this.gridColumn31.VisibleIndex = 1;
            this.gridColumn31.Width = 170;
            this.gridColumn32.Caption = "计算结果";
            this.gridColumn32.FieldName = "JSJG";
            this.gridColumn32.Name = "gridColumn32";
            this.gridColumn32.Visible = true;
            this.gridColumn32.VisibleIndex = 2;
            this.gridColumn32.Width = 0x57;
            this.repositoryItemCheckEdit7.AutoHeight = false;
            this.repositoryItemCheckEdit7.DisplayValueChecked = "1";
            this.repositoryItemCheckEdit7.DisplayValueUnchecked = "0";
            this.repositoryItemCheckEdit7.Name = "repositoryItemCheckEdit7";
            this.repositoryItemCheckEdit7.ValueChecked = 1;
            this.repositoryItemCheckEdit7.ValueUnchecked = 0;
            this.gridControl10.DataSource = this.bindingSource5;
            this.gridControl10.Dock = DockStyle.Top;
            this.gridControl10.EmbeddedNavigator.Buttons.Edit.Visible = false;
            this.gridControl10.Location = new Point(2, 0x17);
            this.gridControl10.MainView = this.gridView4;
            this.gridControl10.Name = "gridControl10";
            this.gridControl10.RepositoryItems.AddRange(new RepositoryItem[] { this.repositoryItemCheckEdit8, this.repositoryItemCheckEdit28 });
            this.gridControl10.Size = new Size(0x207, 200);
            this.gridControl10.TabIndex = 5;
            this.gridControl10.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView4 });
            this.gridView4.Columns.AddRange(new GridColumn[] { this.gridColumn34, this.gridColumn35, this.gridColumn36, this.gridColumn37, this.gridColumn38, this.gridColumn39, this.JqeQiSwkq2 });
            this.gridView4.GridControl = this.gridControl10;
            this.gridView4.Name = "gridView12";
            this.gridView4.OptionsCustomization.AllowFilter = false;
            this.gridView4.OptionsCustomization.AllowSort = false;
            this.gridView4.OptionsView.ColumnAutoWidth = false;
            this.gridView4.OptionsView.ShowGroupPanel = false;
            this.gridColumn34.Caption = "起讫桩号";
            this.gridColumn34.FieldName = "QQZH";
            this.gridColumn34.Name = "gridColumn34";
            this.gridColumn34.OptionsColumn.ReadOnly = true;
            this.gridColumn34.Visible = true;
            this.gridColumn34.VisibleIndex = 1;
            this.gridColumn34.Width = 0x3d;
            this.gridColumn35.Caption = "图纸编号";
            this.gridColumn35.FieldName = "TZBH";
            this.gridColumn35.Name = "gridColumn35";
            this.gridColumn35.OptionsColumn.ReadOnly = true;
            this.gridColumn35.Visible = true;
            this.gridColumn35.VisibleIndex = 2;
            this.gridColumn35.Width = 60;
            this.gridColumn36.Caption = "部位";
            this.gridColumn36.FieldName = "BW";
            this.gridColumn36.Name = "gridColumn36";
            this.gridColumn36.OptionsColumn.ReadOnly = true;
            this.gridColumn36.Visible = true;
            this.gridColumn36.VisibleIndex = 3;
            this.gridColumn36.Width = 0x24;
            this.gridColumn37.Caption = "中间交工证书编号";
            this.gridColumn37.FieldName = "ZJJGZSBH";
            this.gridColumn37.Name = "gridColumn37";
            this.gridColumn37.OptionsColumn.ReadOnly = true;
            this.gridColumn37.Visible = true;
            this.gridColumn37.VisibleIndex = 4;
            this.gridColumn37.Width = 0x6c;
            this.gridColumn38.Caption = "尺寸";
            this.gridColumn38.FieldName = "CC";
            this.gridColumn38.Name = "gridColumn38";
            this.gridColumn38.OptionsColumn.ReadOnly = true;
            this.gridColumn38.Visible = true;
            this.gridColumn38.VisibleIndex = 5;
            this.gridColumn39.Caption = "计算变量";
            this.gridColumn39.FieldName = "JSBL";
            this.gridColumn39.Name = "gridColumn39";
            this.gridColumn39.OptionsColumn.ReadOnly = true;
            this.gridColumn39.Visible = true;
            this.gridColumn39.VisibleIndex = 6;
            this.gridColumn39.Width = 60;
            this.JqeQiSwkq2.Caption = "凭证编号";
            this.JqeQiSwkq2.FieldName = "PZBH";
            this.JqeQiSwkq2.Name = "gridColumn40";
            this.JqeQiSwkq2.OptionsColumn.ReadOnly = true;
            this.JqeQiSwkq2.Visible = true;
            this.JqeQiSwkq2.VisibleIndex = 0;
            this.JqeQiSwkq2.Width = 0x4e;
            this.repositoryItemCheckEdit8.AutoHeight = false;
            this.repositoryItemCheckEdit8.DisplayValueChecked = "1";
            this.repositoryItemCheckEdit8.DisplayValueUnchecked = "0";
            this.repositoryItemCheckEdit8.Name = "repositoryItemCheckEdit8";
            this.repositoryItemCheckEdit8.ValueChecked = 1;
            this.repositoryItemCheckEdit8.ValueUnchecked = 0;
            this.repositoryItemCheckEdit28.AutoHeight = false;
            this.repositoryItemCheckEdit28.Name = "repositoryItemCheckEdit28";
            this.tpJGTZ.Controls.Add(this.groupControl6);
            this.tpJGTZ.Name = "tpJGTZ";
            this.tpJGTZ.Size = new Size(0x20b, 0x1b3);
            this.tpJGTZ.Text = "价格调整";
            this.groupControl6.Controls.Add(this.xtraTabControl6);
            this.groupControl6.Controls.Add(this.gridControl16);
            this.groupControl6.Dock = DockStyle.Fill;
            this.groupControl6.Location = new Point(0, 0);
            this.groupControl6.Name = "groupControl6";
            this.groupControl6.Size = new Size(0x20b, 0x1b3);
            this.groupControl6.TabIndex = 0x13;
            this.groupControl6.Text = "  现有数据";
            this.xtraTabControl6.Dock = DockStyle.Fill;
            this.xtraTabControl6.Location = new Point(2, 0xb6);
            this.xtraTabControl6.Name = "xtraTabControl6";
            this.xtraTabControl6.SelectedTabPage = this.xtraTabPage14;
            this.xtraTabControl6.Size = new Size(0x207, 0xfb);
            this.xtraTabControl6.TabIndex = 6;
            this.xtraTabControl6.TabPages.AddRange(new XtraTabPage[] { this.xtraTabPage14 });
            this.xtraTabPage14.Controls.Add(this.gridControl11);
            this.xtraTabPage14.Name = "xtraTabPage14";
            this.xtraTabPage14.Size = new Size(0x200, 0xdd);
            this.xtraTabPage14.Text = "调整明细";
            this.gridControl11.DataMember = null;
            this.gridControl11.DataSource = this.bindingSource6;
            this.gridControl11.Dock = DockStyle.Fill;
            this.gridControl11.EmbeddedNavigator.Buttons.Append.Visible = false;
            this.gridControl11.EmbeddedNavigator.Buttons.CancelEdit.Visible = false;
            this.gridControl11.EmbeddedNavigator.Buttons.Edit.Visible = false;
            this.gridControl11.EmbeddedNavigator.Buttons.EndEdit.Visible = false;
            this.gridControl11.EmbeddedNavigator.Buttons.Remove.Visible = false;
            this.gridControl11.Location = new Point(0, 0);
            this.gridControl11.MainView = this.gridView6;
            this.gridControl11.Name = "gridControl11";
            this.gridControl11.RepositoryItems.AddRange(new RepositoryItem[] { this.repositoryItemCheckEdit9 });
            this.gridControl11.Size = new Size(0x200, 0xdd);
            this.gridControl11.TabIndex = 3;
            this.gridControl11.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView6 });
            this.bindingSource6.DataMember = "QTJL_JGTZMX";
            this.bindingSource6.DataSource = this.dataSets1;
            this.gridView6.Columns.AddRange(new GridColumn[] { this.colXMMC1, this.colDW1, this.colJG1, this.colYL, this.colJG, this.colYJE });
            this.gridView6.GridControl = this.gridControl11;
            this.gridView6.Name = "gridView13";
            this.gridView6.OptionsBehavior.Editable = false;
            this.gridView6.OptionsCustomization.AllowFilter = false;
            this.gridView6.OptionsCustomization.AllowGroup = false;
            this.gridView6.OptionsCustomization.AllowSort = false;
            this.gridView6.OptionsNavigation.EnterMoveNextColumn = true;
            this.gridView6.OptionsView.ColumnAutoWidth = false;
            this.gridView6.OptionsView.ShowGroupPanel = false;
            this.colXMMC1.Caption = "项目名称";
            this.colXMMC1.FieldName = "XMMC";
            this.colXMMC1.Name = "colXMMC1";
            this.colXMMC1.Visible = true;
            this.colXMMC1.VisibleIndex = 0;
            this.colDW1.Caption = "单位";
            this.colDW1.FieldName = "DW";
            this.colDW1.Name = "colDW1";
            this.colDW1.Visible = true;
            this.colDW1.VisibleIndex = 1;
            this.colJG1.Caption = "材料当前价格";
            this.colJG1.FieldName = "JG1";
            this.colJG1.Name = "colJG1";
            this.colJG1.Visible = true;
            this.colJG1.VisibleIndex = 2;
            this.colYL.Caption = "计算期内用量";
            this.colYL.FieldName = "YL";
            this.colYL.Name = "colYL";
            this.colYL.Visible = true;
            this.colYL.VisibleIndex = 3;
            this.colJG.Caption = "材料基期价格";
            this.colJG.FieldName = "JG0";
            this.colJG.Name = "colJG0";
            this.colJG.Visible = true;
            this.colJG.VisibleIndex = 4;
            this.colYJE.Caption = "调价额";
            this.colYJE.FieldName = "YJE";
            this.colYJE.Name = "colYJE";
            this.colYJE.Visible = true;
            this.colYJE.VisibleIndex = 5;
            this.repositoryItemCheckEdit9.AutoHeight = false;
            this.repositoryItemCheckEdit9.DisplayValueChecked = "1";
            this.repositoryItemCheckEdit9.DisplayValueUnchecked = "0";
            this.repositoryItemCheckEdit9.Name = "repositoryItemCheckEdit9";
            this.repositoryItemCheckEdit9.ValueChecked = 1;
            this.repositoryItemCheckEdit9.ValueUnchecked = 0;
            this.gridControl16.DataSource = this.bindingSource7;
            this.gridControl16.Dock = DockStyle.Top;
            this.gridControl16.EmbeddedNavigator.Buttons.Edit.Visible = false;
            this.gridControl16.Location = new Point(2, 0x17);
            this.gridControl16.MainView = this.gridView7;
            this.gridControl16.Name = "gridControl16";
            this.gridControl16.RepositoryItems.AddRange(new RepositoryItem[] { this.repositoryItemCheckEdit12, this.repositoryItemCheckEdit29 });
            this.gridControl16.Size = new Size(0x207, 0x9f);
            this.gridControl16.TabIndex = 5;
            this.gridControl16.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView7 });
            this.bindingSource7.DataMember = "QTJL_JGTZ";
            this.bindingSource7.DataSource = this.dataSets1;
            this.gridView7.Columns.AddRange(new GridColumn[] { this.colPCH, this.colPCJE });
            this.gridView7.GridControl = this.gridControl16;
            this.gridView7.Name = "gridView18";
            this.gridView7.OptionsCustomization.AllowFilter = false;
            this.gridView7.OptionsCustomization.AllowSort = false;
            this.gridView7.OptionsView.ColumnAutoWidth = false;
            this.gridView7.OptionsView.ShowGroupPanel = false;
            this.colPCH.Caption = "批次";
            this.colPCH.FieldName = "PCH";
            this.colPCH.Name = "colPCH";
            this.colPCH.OptionsColumn.ReadOnly = true;
            this.colPCH.Visible = true;
            this.colPCH.VisibleIndex = 0;
            this.colPCJE.Caption = "批次金额";
            this.colPCJE.FieldName = "PCJE";
            this.colPCJE.Name = "colPCJE";
            this.colPCJE.OptionsColumn.ReadOnly = true;
            this.colPCJE.Visible = true;
            this.colPCJE.VisibleIndex = 1;
            this.repositoryItemCheckEdit12.AutoHeight = false;
            this.repositoryItemCheckEdit12.DisplayValueChecked = "1";
            this.repositoryItemCheckEdit12.DisplayValueUnchecked = "0";
            this.repositoryItemCheckEdit12.Name = "repositoryItemCheckEdit12";
            this.repositoryItemCheckEdit12.ValueChecked = 1;
            this.repositoryItemCheckEdit12.ValueUnchecked = 0;
            this.repositoryItemCheckEdit29.AutoHeight = false;
            this.repositoryItemCheckEdit29.Name = "repositoryItemCheckEdit29";
            this.tpSPJE.Controls.Add(this.groupControl8);
            this.tpSPJE.Name = "tpSPJE";
            this.tpSPJE.Size = new Size(0x20b, 0x1b3);
            this.tpSPJE.Text = "索赔金额";
            this.groupControl8.Controls.Add(this.gridControl18);
            this.groupControl8.Dock = DockStyle.Fill;
            this.groupControl8.Location = new Point(0, 0);
            this.groupControl8.Name = "groupControl8";
            this.groupControl8.Size = new Size(0x20b, 0x1b3);
            this.groupControl8.TabIndex = 0x16;
            this.groupControl8.Text = "  现有数据";
            this.gridControl18.DataSource = this.bindingSource8;
            this.gridControl18.Dock = DockStyle.Fill;
            this.gridControl18.EmbeddedNavigator.Buttons.Edit.Visible = false;
            this.gridControl18.Location = new Point(2, 0x17);
            this.gridControl18.MainView = this.gridView8;
            this.gridControl18.Name = "gridControl18";
            this.gridControl18.RepositoryItems.AddRange(new RepositoryItem[] { this.repositoryItemCheckEdit16, this.repositoryItemCheckEdit26, this.repositoryItemCheckEdit30 });
            this.gridControl18.Size = new Size(0x207, 410);
            this.gridControl18.TabIndex = 5;
            this.gridControl18.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView8 });
            this.bindingSource8.DataMember = "QTJL_SPJE";
            this.bindingSource8.DataSource = this.dataSets1;
            this.gridView8.Columns.AddRange(new GridColumn[] { this.colSPRQ, this.colSPJE, this.colSPYJ });
            this.gridView8.GridControl = this.gridControl18;
            this.gridView8.Name = "gridView20";
            this.gridView8.OptionsCustomization.AllowFilter = false;
            this.gridView8.OptionsCustomization.AllowSort = false;
            this.gridView8.OptionsView.ColumnAutoWidth = false;
            this.gridView8.OptionsView.ShowGroupPanel = false;
            this.colSPRQ.Caption = "索赔日期";
            this.colSPRQ.FieldName = "SPRQ";
            this.colSPRQ.Name = "colSPRQ";
            this.colSPRQ.OptionsColumn.ReadOnly = true;
            this.colSPRQ.Visible = true;
            this.colSPRQ.VisibleIndex = 0;
            this.colSPJE.Caption = "索赔金额";
            this.colSPJE.FieldName = "SPJE";
            this.colSPJE.Name = "colSPJE";
            this.colSPJE.OptionsColumn.ReadOnly = true;
            this.colSPJE.Visible = true;
            this.colSPJE.VisibleIndex = 1;
            this.colSPYJ.Caption = "索赔依据";
            this.colSPYJ.FieldName = "SPYJ";
            this.colSPYJ.Name = "colSPYJ";
            this.colSPYJ.OptionsColumn.ReadOnly = true;
            this.colSPYJ.Visible = true;
            this.colSPYJ.VisibleIndex = 2;
            this.colSPYJ.Width = 0x14e;
            this.repositoryItemCheckEdit16.AutoHeight = false;
            this.repositoryItemCheckEdit16.DisplayValueChecked = "1";
            this.repositoryItemCheckEdit16.DisplayValueUnchecked = "0";
            this.repositoryItemCheckEdit16.Name = "repositoryItemCheckEdit16";
            this.repositoryItemCheckEdit16.ValueChecked = 1;
            this.repositoryItemCheckEdit16.ValueUnchecked = 0;
            this.repositoryItemCheckEdit26.AutoHeight = false;
            this.repositoryItemCheckEdit26.DisplayValueChecked = "1";
            this.repositoryItemCheckEdit26.DisplayValueUnchecked = "0";
            this.repositoryItemCheckEdit26.Name = "repositoryItemCheckEdit26";
            this.repositoryItemCheckEdit26.ValueChecked = 1;
            this.repositoryItemCheckEdit26.ValueUnchecked = 0;
            this.repositoryItemCheckEdit30.AutoHeight = false;
            this.repositoryItemCheckEdit30.Name = "repositoryItemCheckEdit30";
            this.tpCFKLX.Controls.Add(this.groupControl10);
            this.tpCFKLX.Name = "tpCFKLX";
            this.tpCFKLX.Size = new Size(0x20b, 0x1b3);
            this.tpCFKLX.Text = "迟付款利息";
            this.groupControl10.Controls.Add(this.gridControl17);
            this.groupControl10.Dock = DockStyle.Fill;
            this.groupControl10.Location = new Point(0, 0);
            this.groupControl10.Name = "groupControl10";
            this.groupControl10.Size = new Size(0x20b, 0x1b3);
            this.groupControl10.TabIndex = 0x19;
            this.groupControl10.Text = "  现有数据";
            this.gridControl17.DataSource = this.bindingSource9;
            this.gridControl17.Dock = DockStyle.Fill;
            this.gridControl17.EmbeddedNavigator.Buttons.Edit.Visible = false;
            this.gridControl17.Location = new Point(2, 0x17);
            this.gridControl17.MainView = this.gridView9;
            this.gridControl17.Name = "gridControl17";
            this.gridControl17.RepositoryItems.AddRange(new RepositoryItem[] { this.repositoryItemCheckEdit15, this.repositoryItemCheckEdit31 });
            this.gridControl17.Size = new Size(0x207, 410);
            this.gridControl17.TabIndex = 5;
            this.gridControl17.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView9 });
            this.bindingSource9.DataMember = "QTJL_CFKLX";
            this.bindingSource9.DataSource = this.dataSets1;
            this.gridView9.Columns.AddRange(new GridColumn[] { this.colYFRQ, this.colSFRQ, this.colCFSJ, this.colLL, this.colCFJE, this.colYFLX });
            this.gridView9.GridControl = this.gridControl17;
            this.gridView9.Name = "gridView19";
            this.gridView9.OptionsCustomization.AllowFilter = false;
            this.gridView9.OptionsCustomization.AllowSort = false;
            this.gridView9.OptionsView.ColumnAutoWidth = false;
            this.gridView9.OptionsView.ShowGroupPanel = false;
            this.colYFRQ.Caption = "应付日期";
            this.colYFRQ.FieldName = "YFRQ";
            this.colYFRQ.Name = "colYFRQ";
            this.colYFRQ.OptionsColumn.ReadOnly = true;
            this.colYFRQ.Visible = true;
            this.colYFRQ.VisibleIndex = 0;
            this.colSFRQ.Caption = "实付款日期";
            this.colSFRQ.FieldName = "SFRQ";
            this.colSFRQ.Name = "colSFRQ";
            this.colSFRQ.OptionsColumn.ReadOnly = true;
            this.colSFRQ.Visible = true;
            this.colSFRQ.VisibleIndex = 1;
            this.colCFSJ.Caption = "迟付时间(天)";
            this.colCFSJ.FieldName = "CFSJ";
            this.colCFSJ.Name = "colCFSJ";
            this.colCFSJ.OptionsColumn.ReadOnly = true;
            this.colCFSJ.Visible = true;
            this.colCFSJ.VisibleIndex = 2;
            this.colCFSJ.Width = 0x52;
            this.colLL.Caption = "利率";
            this.colLL.FieldName = "LL";
            this.colLL.Name = "colLL";
            this.colLL.OptionsColumn.ReadOnly = true;
            this.colLL.Visible = true;
            this.colLL.VisibleIndex = 3;
            this.colLL.Width = 0x24;
            this.colCFJE.Caption = "迟付款额";
            this.colCFJE.FieldName = "CFJE";
            this.colCFJE.Name = "colCFJE";
            this.colCFJE.OptionsColumn.ReadOnly = true;
            this.colCFJE.Visible = true;
            this.colCFJE.VisibleIndex = 4;
            this.colYFLX.Caption = "应付利息";
            this.colYFLX.FieldName = "YFLX";
            this.colYFLX.Name = "colYFLX";
            this.colYFLX.OptionsColumn.ReadOnly = true;
            this.colYFLX.Visible = true;
            this.colYFLX.VisibleIndex = 5;
            this.repositoryItemCheckEdit15.AutoHeight = false;
            this.repositoryItemCheckEdit15.DisplayValueChecked = "1";
            this.repositoryItemCheckEdit15.DisplayValueUnchecked = "0";
            this.repositoryItemCheckEdit15.Name = "repositoryItemCheckEdit15";
            this.repositoryItemCheckEdit15.ValueChecked = 1;
            this.repositoryItemCheckEdit15.ValueUnchecked = 0;
            this.repositoryItemCheckEdit31.AutoHeight = false;
            this.repositoryItemCheckEdit31.Name = "repositoryItemCheckEdit31";
            this.tpDYYFK.Controls.Add(this.groupControl12);
            this.tpDYYFK.Name = "tpDYYFK";
            this.tpDYYFK.Size = new Size(0x20b, 0x1b3);
            this.tpDYYFK.Text = "动员预付款";
            this.groupControl12.Controls.Add(this.gridControl20);
            this.groupControl12.Dock = DockStyle.Fill;
            this.groupControl12.Location = new Point(0, 0);
            this.groupControl12.Name = "groupControl12";
            this.groupControl12.Size = new Size(0x20b, 0x1b3);
            this.groupControl12.TabIndex = 0x1c;
            this.groupControl12.Text = "  现有数据";
            this.gridControl20.DataSource = this.bindingSource10;
            this.gridControl20.Dock = DockStyle.Fill;
            this.gridControl20.EmbeddedNavigator.Buttons.Edit.Visible = false;
            this.gridControl20.Location = new Point(2, 0x17);
            this.gridControl20.MainView = this.gridView10;
            this.gridControl20.Name = "gridControl20";
            this.gridControl20.RepositoryItems.AddRange(new RepositoryItem[] { this.repositoryItemCheckEdit18, this.bpoclJrxj9 });
            this.gridControl20.Size = new Size(0x207, 410);
            this.gridControl20.TabIndex = 5;
            this.gridControl20.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView10 });
            this.bindingSource10.DataMember = "QTJL_DYYFK";
            this.bindingSource10.DataSource = this.dataSets1;
            this.gridView10.Columns.AddRange(new GridColumn[] { this.colBQSQDYYFK, this.colBQMZFDYYFK, this.colSQYJ, this.colHTZJ, this.gridColumn1, this.gridColumn2, this.colQKE, this.colBQKCDYYFK, this.colBQMKCDYYFK, this.colBQMWC, this.colSQMWC, this.colBQWC, this.colSHYJ, this.colSHR, this.colSHRQ });
            this.gridView10.GridControl = this.gridControl20;
            this.gridView10.Name = "gridView22";
            this.gridView10.OptionsCustomization.AllowFilter = false;
            this.gridView10.OptionsCustomization.AllowSort = false;
            this.gridView10.OptionsView.ColumnAutoWidth = false;
            this.gridView10.OptionsView.ShowGroupPanel = false;
            this.colBQSQDYYFK.Caption = "本期申请动员预付款";
            this.colBQSQDYYFK.FieldName = "BQSQDYYFK";
            this.colBQSQDYYFK.Name = "colBQSQDYYFK";
            this.colBQSQDYYFK.OptionsColumn.ReadOnly = true;
            this.colBQSQDYYFK.Visible = true;
            this.colBQSQDYYFK.VisibleIndex = 0;
            this.colBQSQDYYFK.Width = 120;
            this.colBQMZFDYYFK.Caption = "本期末支付动员预付款款";
            this.colBQMZFDYYFK.FieldName = "BQMZFDYYFK";
            this.colBQMZFDYYFK.Name = "colBQMZFDYYFK";
            this.colBQMZFDYYFK.OptionsColumn.ReadOnly = true;
            this.colBQMZFDYYFK.Visible = true;
            this.colBQMZFDYYFK.VisibleIndex = 1;
            this.colBQMZFDYYFK.Width = 0x90;
            this.colSQYJ.Caption = "申请依据";
            this.colSQYJ.FieldName = "SQYJ";
            this.colSQYJ.Name = "colSQYJ";
            this.colSQYJ.OptionsColumn.ReadOnly = true;
            this.colSQYJ.Visible = true;
            this.colSQYJ.VisibleIndex = 2;
            this.colSQYJ.Width = 60;
            this.colHTZJ.Caption = "合同总价";
            this.colHTZJ.FieldName = "HTZJ";
            this.colHTZJ.Name = "colHTZJ";
            this.colHTZJ.OptionsColumn.ReadOnly = true;
            this.colHTZJ.Visible = true;
            this.colHTZJ.VisibleIndex = 3;
            this.colHTZJ.Width = 60;
            this.gridColumn1.Caption = "动员预付款总额";
            this.gridColumn1.FieldName = "DYYFKZE";
            this.gridColumn1.Name = "colDYYFKZE";
            this.gridColumn1.OptionsColumn.ReadOnly = true;
            this.gridColumn1.Visible = true;
            this.gridColumn1.VisibleIndex = 4;
            this.gridColumn1.Width = 0x60;
            this.gridColumn2.Caption = "已付动员预付款";
            this.gridColumn2.FieldName = "YFDYYFK";
            this.gridColumn2.Name = "colYFDYYFK";
            this.gridColumn2.OptionsColumn.ReadOnly = true;
            this.gridColumn2.Visible = true;
            this.gridColumn2.VisibleIndex = 5;
            this.gridColumn2.Width = 0x60;
            this.colQKE.Caption = "起扣额";
            this.colQKE.FieldName = "QKE";
            this.colQKE.Name = "colQKE";
            this.colQKE.OptionsColumn.ReadOnly = true;
            this.colQKE.Visible = true;
            this.colQKE.VisibleIndex = 6;
            this.colQKE.Width = 0x30;
            this.colBQKCDYYFK.Caption = "本期扣除动员预付款";
            this.colBQKCDYYFK.FieldName = "BQKCDYYFK";
            this.colBQKCDYYFK.Name = "colBQKCDYYFK";
            this.colBQKCDYYFK.OptionsColumn.ReadOnly = true;
            this.colBQKCDYYFK.Visible = true;
            this.colBQKCDYYFK.VisibleIndex = 7;
            this.colBQKCDYYFK.Width = 120;
            this.colBQMKCDYYFK.Caption = "本期末扣除动员预付款";
            this.colBQMKCDYYFK.FieldName = "BQMKCDYYFK";
            this.colBQMKCDYYFK.Name = "colBQMKCDYYFK";
            this.colBQMKCDYYFK.OptionsColumn.ReadOnly = true;
            this.colBQMKCDYYFK.Visible = true;
            this.colBQMKCDYYFK.VisibleIndex = 8;
            this.colBQMKCDYYFK.Width = 0x84;
            this.colBQMWC.Caption = "本期末完成";
            this.colBQMWC.FieldName = "BQMWC";
            this.colBQMWC.Name = "colBQMWC";
            this.colBQMWC.OptionsColumn.ReadOnly = true;
            this.colBQMWC.Visible = true;
            this.colBQMWC.VisibleIndex = 9;
            this.colSQMWC.Caption = "到上期末完成";
            this.colSQMWC.FieldName = "SQMWC";
            this.colSQMWC.Name = "colSQMWC";
            this.colSQMWC.OptionsColumn.ReadOnly = true;
            this.colSQMWC.Visible = true;
            this.colSQMWC.VisibleIndex = 10;
            this.colSQMWC.Width = 0x54;
            this.colBQWC.Caption = "本期末完成";
            this.colBQWC.FieldName = "BQWC";
            this.colBQWC.Name = "colBQWC";
            this.colBQWC.OptionsColumn.ReadOnly = true;
            this.colBQWC.Visible = true;
            this.colBQWC.VisibleIndex = 11;
            this.repositoryItemCheckEdit18.AutoHeight = false;
            this.repositoryItemCheckEdit18.DisplayValueChecked = "1";
            this.repositoryItemCheckEdit18.DisplayValueUnchecked = "0";
            this.repositoryItemCheckEdit18.Name = "repositoryItemCheckEdit18";
            this.repositoryItemCheckEdit18.ValueChecked = 1;
            this.repositoryItemCheckEdit18.ValueUnchecked = 0;
            this.bpoclJrxj9.AutoHeight = false;
            this.bpoclJrxj9.Name = "repositoryItemCheckEdit32";
            this.tpCLYFK.Controls.Add(this.groupControl14);
            this.tpCLYFK.Name = "tpCLYFK";
            this.tpCLYFK.Size = new Size(0x20b, 0x1b3);
            this.tpCLYFK.Text = "材料预付款";
            this.groupControl14.Controls.Add(this.xtraTabControl9);
            this.groupControl14.Controls.Add(this.gridControl26);
            this.groupControl14.Dock = DockStyle.Fill;
            this.groupControl14.Location = new Point(0, 0);
            this.groupControl14.Name = "groupControl14";
            this.groupControl14.Size = new Size(0x20b, 0x1b3);
            this.groupControl14.TabIndex = 0x13;
            this.groupControl14.Text = "  现有数据";
            this.xtraTabControl9.Dock = DockStyle.Fill;
            this.xtraTabControl9.Location = new Point(2, 0xdf);
            this.xtraTabControl9.Name = "xtraTabControl9";
            this.xtraTabControl9.SelectedTabPage = this.xtraTabPage18;
            this.xtraTabControl9.Size = new Size(0x207, 210);
            this.xtraTabControl9.TabIndex = 6;
            this.xtraTabControl9.TabPages.AddRange(new XtraTabPage[] { this.xtraTabPage18, this.xtraTabPage19 });
            this.xtraTabPage18.Controls.Add(this.gridControl24);
            this.xtraTabPage18.Name = "xtraTabPage18";
            this.xtraTabPage18.Size = new Size(0x200, 180);
            this.xtraTabPage18.Text = "材料预付款材料";
            this.gridControl24.DataMember = null;
            this.gridControl24.DataSource = this.bindingSource12;
            this.gridControl24.Dock = DockStyle.Fill;
            this.gridControl24.EmbeddedNavigator.Buttons.Append.Visible = false;
            this.gridControl24.EmbeddedNavigator.Buttons.CancelEdit.Visible = false;
            this.gridControl24.EmbeddedNavigator.Buttons.Edit.Visible = false;
            this.gridControl24.EmbeddedNavigator.Buttons.EndEdit.Visible = false;
            this.gridControl24.EmbeddedNavigator.Buttons.Remove.Visible = false;
            this.gridControl24.Location = new Point(0, 0);
            this.gridControl24.MainView = this.gridView11;
            this.gridControl24.Name = "gridControl24";
            this.gridControl24.RepositoryItems.AddRange(new RepositoryItem[] { this.repositoryItemCheckEdit20 });
            this.gridControl24.Size = new Size(0x200, 180);
            this.gridControl24.TabIndex = 3;
            this.gridControl24.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView11 });
            this.bindingSource12.DataMember = "QTJL_CLYFKCL";
            this.bindingSource12.DataSource = this.dataSets1;
            this.gridView11.Columns.AddRange(new GridColumn[] { this.colCLMC, this.colDW2, this.colJE, this.colDFJE, this.gridColumn92 });
            this.gridView11.GridControl = this.gridControl24;
            this.gridView11.Name = "gridView26";
            this.gridView11.OptionsBehavior.Editable = false;
            this.gridView11.OptionsCustomization.AllowFilter = false;
            this.gridView11.OptionsCustomization.AllowGroup = false;
            this.gridView11.OptionsCustomization.AllowSort = false;
            this.gridView11.OptionsNavigation.EnterMoveNextColumn = true;
            this.gridView11.OptionsView.ColumnAutoWidth = false;
            this.gridView11.OptionsView.ShowGroupPanel = false;
            this.colCLMC.Caption = "材料名称";
            this.colCLMC.FieldName = "CLMC";
            this.colCLMC.Name = "colCLMC";
            this.colCLMC.Visible = true;
            this.colCLMC.VisibleIndex = 0;
            this.colDW2.Caption = "单位";
            this.colDW2.FieldName = "DW";
            this.colDW2.Name = "colDW2";
            this.colDW2.Visible = true;
            this.colDW2.VisibleIndex = 1;
            this.colJE.Caption = "金额";
            this.colJE.FieldName = "JE";
            this.colJE.Name = "colJE";
            this.colJE.Visible = true;
            this.colJE.VisibleIndex = 2;
            this.colDFJE.Caption = "垫付金额";
            this.colDFJE.FieldName = "DFJE";
            this.colDFJE.Name = "colDFJE";
            this.colDFJE.Visible = true;
            this.colDFJE.VisibleIndex = 3;
            this.gridColumn92.Caption = "垫付比例";
            this.gridColumn92.FieldName = "DFBL";
            this.gridColumn92.Name = "gridColumn92";
            this.gridColumn92.Visible = true;
            this.gridColumn92.VisibleIndex = 4;
            this.repositoryItemCheckEdit20.AutoHeight = false;
            this.repositoryItemCheckEdit20.DisplayValueChecked = "1";
            this.repositoryItemCheckEdit20.DisplayValueUnchecked = "0";
            this.repositoryItemCheckEdit20.Name = "repositoryItemCheckEdit20";
            this.repositoryItemCheckEdit20.ValueChecked = 1;
            this.repositoryItemCheckEdit20.ValueUnchecked = 0;
            this.xtraTabPage19.Controls.Add(this.gridControl25);
            this.xtraTabPage19.Name = "xtraTabPage19";
            this.xtraTabPage19.Size = new Size(0x200, 180);
            this.xtraTabPage19.Text = "材料预付款材料（批次）";
            this.gridControl25.DataMember = null;
            this.gridControl25.DataSource = this.bindingSource13;
            this.gridControl25.Dock = DockStyle.Fill;
            this.gridControl25.EmbeddedNavigator.Buttons.Edit.Visible = false;
            this.gridControl25.Location = new Point(0, 0);
            this.gridControl25.MainView = this.nPoFulahNA;
            this.gridControl25.Name = "gridControl25";
            this.gridControl25.RepositoryItems.AddRange(new RepositoryItem[] { this.repositoryItemCheckEdit21 });
            this.gridControl25.Size = new Size(0x200, 180);
            this.gridControl25.TabIndex = 2;
            this.gridControl25.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.nPoFulahNA });
            this.bindingSource13.DataMember = "QTJL_CLYFKCLPC";
            this.bindingSource13.DataSource = this.dataSets1;
            this.nPoFulahNA.Columns.AddRange(new GridColumn[] { this.colPH, this.colDJ, this.colSL, this.colJE1, this.colDFBL, this.colDFJE1 });
            this.nPoFulahNA.GridControl = this.gridControl25;
            this.nPoFulahNA.Name = "gridView27";
            this.nPoFulahNA.OptionsCustomization.AllowFilter = false;
            this.nPoFulahNA.OptionsCustomization.AllowSort = false;
            this.nPoFulahNA.OptionsView.ColumnAutoWidth = false;
            this.nPoFulahNA.OptionsView.ShowGroupPanel = false;
            this.colPH.Caption = "批号";
            this.colPH.FieldName = "PH";
            this.colPH.Name = "colPH";
            this.colPH.Visible = true;
            this.colPH.VisibleIndex = 0;
            this.colDJ.Caption = "单价";
            this.colDJ.FieldName = "DJ";
            this.colDJ.Name = "colDJ";
            this.colDJ.Visible = true;
            this.colDJ.VisibleIndex = 1;
            this.colSL.Caption = "数量";
            this.colSL.FieldName = "SL";
            this.colSL.Name = "colSL";
            this.colSL.Visible = true;
            this.colSL.VisibleIndex = 2;
            this.colJE1.Caption = "金额";
            this.colJE1.FieldName = "JE";
            this.colJE1.Name = "colJE1";
            this.colJE1.Visible = true;
            this.colJE1.VisibleIndex = 3;
            this.colDFBL.Caption = "垫付比例";
            this.colDFBL.FieldName = "DFBL";
            this.colDFBL.Name = "colDFBL";
            this.colDFBL.Visible = true;
            this.colDFBL.VisibleIndex = 4;
            this.colDFJE1.Caption = "垫付金额";
            this.colDFJE1.FieldName = "DFJE";
            this.colDFJE1.Name = "colDFJE1";
            this.colDFJE1.Visible = true;
            this.colDFJE1.VisibleIndex = 5;
            this.repositoryItemCheckEdit21.AutoHeight = false;
            this.repositoryItemCheckEdit21.DisplayValueChecked = "1";
            this.repositoryItemCheckEdit21.DisplayValueUnchecked = "0";
            this.repositoryItemCheckEdit21.Name = "repositoryItemCheckEdit21";
            this.repositoryItemCheckEdit21.ValueChecked = 1;
            this.repositoryItemCheckEdit21.ValueUnchecked = 0;
            this.gridControl26.DataSource = this.bindingSource11;
            this.gridControl26.Dock = DockStyle.Top;
            this.gridControl26.EmbeddedNavigator.Buttons.Edit.Visible = false;
            this.gridControl26.Location = new Point(2, 0x17);
            this.gridControl26.MainView = this.gridView12;
            this.gridControl26.Name = "gridControl26";
            this.gridControl26.RepositoryItems.AddRange(new RepositoryItem[] { this.repositoryItemCheckEdit22, this.repositoryItemCheckEdit33 });
            this.gridControl26.Size = new Size(0x207, 200);
            this.gridControl26.TabIndex = 5;
            this.gridControl26.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView12 });
            this.bindingSource11.DataMember = "QTJL_CLYFK";
            this.bindingSource11.DataSource = this.dataSets1;
            this.gridView12.Columns.AddRange(new GridColumn[] { this.gridColumn3, this.gridColumn4, this.gridColumn5, this.gridColumn6, this.gridColumn7 });
            this.gridView12.GridControl = this.gridControl26;
            this.gridView12.Name = "gridView28";
            this.gridView12.OptionsCustomization.AllowFilter = false;
            this.gridView12.OptionsCustomization.AllowSort = false;
            this.gridView12.OptionsView.ColumnAutoWidth = false;
            this.gridView12.OptionsView.ShowGroupPanel = false;
            this.gridColumn3.Caption = "本期扣回金额";
            this.gridColumn3.FieldName = "BQKHJE";
            this.gridColumn3.Name = "colBQKHJE";
            this.gridColumn3.OptionsColumn.ReadOnly = true;
            this.gridColumn3.Visible = true;
            this.gridColumn3.VisibleIndex = 0;
            this.gridColumn3.Width = 0x54;
            this.gridColumn4.Caption = "上期末扣回金额";
            this.gridColumn4.FieldName = "SQMKHJE";
            this.gridColumn4.Name = "colSQMKHJE";
            this.gridColumn4.OptionsColumn.ReadOnly = true;
            this.gridColumn4.Visible = true;
            this.gridColumn4.VisibleIndex = 1;
            this.gridColumn4.Width = 0x60;
            this.gridColumn5.Caption = "本期末扣回金额";
            this.gridColumn5.FieldName = "BQMKHJE";
            this.gridColumn5.Name = "colBQMKHJE";
            this.gridColumn5.OptionsColumn.ReadOnly = true;
            this.gridColumn5.Visible = true;
            this.gridColumn5.VisibleIndex = 2;
            this.gridColumn5.Width = 0x60;
            this.gridColumn6.Caption = "本期垫付金额";
            this.gridColumn6.FieldName = "BQDFJE";
            this.gridColumn6.Name = "colBQDFJE";
            this.gridColumn6.OptionsColumn.ReadOnly = true;
            this.gridColumn6.Visible = true;
            this.gridColumn6.VisibleIndex = 3;
            this.gridColumn6.Width = 0x54;
            this.gridColumn7.Caption = "累计垫付金额";
            this.gridColumn7.FieldName = "LJDFJE";
            this.gridColumn7.Name = "colLJDFJE";
            this.gridColumn7.OptionsColumn.ReadOnly = true;
            this.gridColumn7.Visible = true;
            this.gridColumn7.VisibleIndex = 4;
            this.gridColumn7.Width = 0x54;
            this.repositoryItemCheckEdit22.AutoHeight = false;
            this.repositoryItemCheckEdit22.DisplayValueChecked = "1";
            this.repositoryItemCheckEdit22.DisplayValueUnchecked = "0";
            this.repositoryItemCheckEdit22.Name = "repositoryItemCheckEdit22";
            this.repositoryItemCheckEdit22.ValueChecked = 1;
            this.repositoryItemCheckEdit22.ValueUnchecked = 0;
            this.repositoryItemCheckEdit33.AutoHeight = false;
            this.repositoryItemCheckEdit33.Name = "repositoryItemCheckEdit33";
            this.siycSqEwBi.Controls.Add(this.tlZZJGXX);
            this.siycSqEwBi.Dock = DockStyle.Left;
            this.siycSqEwBi.Location = new Point(0, 0);
            this.siycSqEwBi.Name = "groupControl2";
            this.siycSqEwBi.Size = new Size(0xf4, 0x1d1);
            this.siycSqEwBi.TabIndex = 0x18;
            this.siycSqEwBi.Text = "机构信息";
            this.tlZZJGXX.Columns.AddRange(new TreeListColumn[] { this.colID, this.colZZMC, this.colJGLX });
            this.tlZZJGXX.DataSource = this.bindingSource14;
            this.tlZZJGXX.Dock = DockStyle.Fill;
            this.tlZZJGXX.ImageIndexFieldName = "JGLX";
            this.tlZZJGXX.Location = new Point(2, 0x17);
            this.tlZZJGXX.Name = "tlZZJGXX";
            this.tlZZJGXX.OptionsBehavior.Editable = false;
            this.tlZZJGXX.ParentFieldName = "PID";
            this.tlZZJGXX.RepositoryItems.AddRange(new RepositoryItem[] { this.repositoryItemLookUpEdit1, this.AuMcPqedEn });
            this.tlZZJGXX.Size = new Size(240, 440);
            this.tlZZJGXX.TabIndex = 1;
            this.colID.FieldName = "ID";
            this.colID.Name = "colID";
            this.colZZMC.Caption = "机构名称";
            this.colZZMC.FieldName = "MC";
            this.colZZMC.MinWidth = 0x23;
            this.colZZMC.Name = "colZZMC";
            this.colZZMC.Visible = true;
            this.colZZMC.VisibleIndex = 0;
            this.colZZMC.Width = 0x9a;
            this.colJGLX.Caption = "机构类型";
            this.colJGLX.ColumnEdit = this.repositoryItemLookUpEdit1;
            this.colJGLX.FieldName = "JGLX";
            this.colJGLX.Name = "colJGLX";
            this.colJGLX.Visible = true;
            this.colJGLX.VisibleIndex = 1;
            this.colJGLX.Width = 0x41;
            this.repositoryItemLookUpEdit1.AutoHeight = false;
            this.repositoryItemLookUpEdit1.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.repositoryItemLookUpEdit1.Name = "repositoryItemLookUpEdit1";
            this.bindingSource14.DataMember = "ZZJGXX";
            this.bindingSource14.DataSource = this.dataSets1;
            this.bindingSource14.PositionChanged += new EventHandler(this.bindingSource14_PositionChanged);
            this.AuMcPqedEn.AutoHeight = false;
            this.AuMcPqedEn.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.AuMcPqedEn.Name = "repositoryItemComboBox1";
            this.nyEcXbnHvB.Location = new Point(0xf4, 0);
            this.nyEcXbnHvB.Name = "splitterControl1";
            this.nyEcXbnHvB.Size = new Size(6, 0x1d1);
            this.nyEcXbnHvB.TabIndex = 0x19;
            this.nyEcXbnHvB.TabStop = false;
            this.colSHR.Caption = "审批人";
            this.colSHR.FieldName = "SHR";
            this.colSHR.Name = "colSHR";
            this.colSHR.Visible = true;
            this.colSHR.VisibleIndex = 13;
            this.colSHYJ.Caption = "审批意见";
            this.colSHYJ.FieldName = "SHYJ";
            this.colSHYJ.Name = "colSHYJ";
            this.colSHYJ.Visible = true;
            this.colSHYJ.VisibleIndex = 12;
            this.colSHRQ.Caption = "审批日期";
            this.colSHRQ.FieldName = "SHRQ";
            this.colSHRQ.Name = "colSHRQ";
            this.colSHRQ.Visible = true;
            this.colSHRQ.VisibleIndex = 14;
            base.AutoScaleDimensions = new SizeF(6f, 12f);
            base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            base.ClientSize = new Size(780, 0x1d1);
            base.Controls.Add(this.xtraTabControl3);
            base.Controls.Add(this.nyEcXbnHvB);
            base.Controls.Add(this.siycSqEwBi);
            base.Name = "FrmDJLog";
            base.StartPosition = FormStartPosition.CenterParent;
            this.Text = "机构计量数据";
            this.groupControl1.EndInit();
            this.groupControl1.ResumeLayout(false);
            this.xtraTabControl1.EndInit();
            this.xtraTabControl1.ResumeLayout(false);
            this.xtraTabPage1.ResumeLayout(false);
            this.gridControl4.EndInit();
            ((ISupportInitialize) this.bindingSource2).EndInit();
            this.dataSets1.EndInit();
            this.gridView3.EndInit();
            this.repositoryItemCheckEdit4.EndInit();
            this.xtraTabPage2.ResumeLayout(false);
            this.gridControl3.EndInit();
            ((ISupportInitialize) this.bindingSource1).EndInit();
            this.gridView5.EndInit();
            this.repositoryItemCheckEdit3.EndInit();
            this.grdChange.EndInit();
            ((ISupportInitialize) this.bindingSource).EndInit();
            this.gridView1.EndInit();
            this.repositoryItemCheckEdit1.EndInit();
            this.repositoryItemCheckEdit25.EndInit();
            this.repositoryItemCheckEdit27.EndInit();
            this.xtraTabControl3.EndInit();
            this.xtraTabControl3.ResumeLayout(false);
            this.tpJL.ResumeLayout(false);
            this.tpBG.ResumeLayout(false);
            this.groupControl4.EndInit();
            this.groupControl4.ResumeLayout(false);
            this.xtraTabControl5.EndInit();
            this.xtraTabControl5.ResumeLayout(false);
            this.xtraTabPage9.ResumeLayout(false);
            this.gridControl8.EndInit();
            ((ISupportInitialize) this.bindingSource3).EndInit();
            this.gridView.EndInit();
            this.repositoryItemCheckEdit6.EndInit();
            this.xtraTabPage10.ResumeLayout(false);
            this.gridControl9.EndInit();
            ((ISupportInitialize) this.bindingSource4).EndInit();
            this.gridView2.EndInit();
            this.repositoryItemCheckEdit7.EndInit();
            this.gridControl10.EndInit();
            ((ISupportInitialize) this.bindingSource5).EndInit();
            this.gridView4.EndInit();
            this.repositoryItemCheckEdit8.EndInit();
            this.repositoryItemCheckEdit28.EndInit();
            this.tpJGTZ.ResumeLayout(false);
            this.groupControl6.EndInit();
            this.groupControl6.ResumeLayout(false);
            this.xtraTabControl6.EndInit();
            this.xtraTabControl6.ResumeLayout(false);
            this.xtraTabPage14.ResumeLayout(false);
            this.gridControl11.EndInit();
            ((ISupportInitialize) this.bindingSource6).EndInit();
            this.gridView6.EndInit();
            this.repositoryItemCheckEdit9.EndInit();
            this.gridControl16.EndInit();
            ((ISupportInitialize) this.bindingSource7).EndInit();
            this.gridView7.EndInit();
            this.repositoryItemCheckEdit12.EndInit();
            this.repositoryItemCheckEdit29.EndInit();
            this.tpSPJE.ResumeLayout(false);
            this.groupControl8.EndInit();
            this.groupControl8.ResumeLayout(false);
            this.gridControl18.EndInit();
            ((ISupportInitialize) this.bindingSource8).EndInit();
            this.gridView8.EndInit();
            this.repositoryItemCheckEdit16.EndInit();
            this.repositoryItemCheckEdit26.EndInit();
            this.repositoryItemCheckEdit30.EndInit();
            this.tpCFKLX.ResumeLayout(false);
            this.groupControl10.EndInit();
            this.groupControl10.ResumeLayout(false);
            this.gridControl17.EndInit();
            ((ISupportInitialize) this.bindingSource9).EndInit();
            this.gridView9.EndInit();
            this.repositoryItemCheckEdit15.EndInit();
            this.repositoryItemCheckEdit31.EndInit();
            this.tpDYYFK.ResumeLayout(false);
            this.groupControl12.EndInit();
            this.groupControl12.ResumeLayout(false);
            this.gridControl20.EndInit();
            ((ISupportInitialize) this.bindingSource10).EndInit();
            this.gridView10.EndInit();
            this.repositoryItemCheckEdit18.EndInit();
            this.bpoclJrxj9.EndInit();
            this.tpCLYFK.ResumeLayout(false);
            this.groupControl14.EndInit();
            this.groupControl14.ResumeLayout(false);
            this.xtraTabControl9.EndInit();
            this.xtraTabControl9.ResumeLayout(false);
            this.xtraTabPage18.ResumeLayout(false);
            this.gridControl24.EndInit();
            ((ISupportInitialize) this.bindingSource12).EndInit();
            this.gridView11.EndInit();
            this.repositoryItemCheckEdit20.EndInit();
            this.xtraTabPage19.ResumeLayout(false);
            this.gridControl25.EndInit();
            ((ISupportInitialize) this.bindingSource13).EndInit();
            this.nPoFulahNA.EndInit();
            this.repositoryItemCheckEdit21.EndInit();
            this.gridControl26.EndInit();
            ((ISupportInitialize) this.bindingSource11).EndInit();
            this.gridView12.EndInit();
            this.repositoryItemCheckEdit22.EndInit();
            this.repositoryItemCheckEdit33.EndInit();
            this.siycSqEwBi.EndInit();
            this.siycSqEwBi.ResumeLayout(false);
            this.tlZZJGXX.EndInit();
            this.repositoryItemLookUpEdit1.EndInit();
            ((ISupportInitialize) this.bindingSource14).EndInit();
            this.AuMcPqedEn.EndInit();
            base.ResumeLayout(false);
        }

        private void JvBxsoguG()
        {
            if (this.dataSet.Tables["QDJL_M"] != null)
            {
                this.bindingSource.DataSource = this.dataSet.Tables["QDJL_M"];
                this.bindingSource2.DataSource = this.dataSet.Tables["QDJL_MX"];
                this.bindingSource1.DataSource = this.dataSet.Tables["QDJL_JSS"];
                this.bindingSource.PositionChanged += new EventHandler(this.bindingSource_PositionChanged);
                if (this.bindingSource.List.Count > 0)
                {
                    this.bindingSource.MoveFirst();
                }
            }
            else
            {
                this.xtraTabControl3.TabPages.Remove(this.tpJL);
            }
        }

        private void method()
        {
            this.JvBxsoguG();
            this.method2();
            this.method3();
            this.method4();
            this.method5();
            this.method6();
            this.method7();
            Class39.lquywmUul(this.colJGLX);
        }

        private bool method1(string _str4)
        {
            bool flag = false;
            string exeStr = "select * from #TABLENAME#2 where bdid='#BDID#' and qcid='#QCID#' and id='#ID#'";
            exeStr = exeStr.Replace("#TABLENAME#", _str4).Replace("#ID#", this.mmGiRaAop);
            if (this.ExecuteDataSetEx(this.dataSet, exeStr, _str4).Rows.Count > 0)
            {
                this.YfQclfhSo(_str4);
                flag = true;
            }
            return flag;
        }

        private void method2()
        {
            if (this.dataSet.Tables["BGQDJL_M"] != null)
            {
                this.bindingSource5.DataSource = this.dataSet.Tables["BGQDJL_M"];
                this.bindingSource3.DataSource = this.dataSet.Tables["BGQDJL_MX"];
                this.bindingSource4.DataSource = this.dataSet.Tables["BGQDJL_JSS"];
                this.bindingSource5.PositionChanged += new EventHandler(this.bindingSource5_PositionChanged);
                if (this.bindingSource5.List.Count > 0)
                {
                    this.bindingSource5.Position = 0;
                }
            }
            else
            {
                this.xtraTabControl3.TabPages.Remove(this.tpBG);
            }
        }

        private void method3()
        {
            if (this.dataSet.Tables["QTJL_JGTZ"] != null)
            {
                this.bindingSource7.DataSource = this.dataSet.Tables["QTJL_JGTZ"];
                this.bindingSource6.DataSource = this.dataSet.Tables["QTJL_JGTZMX"];
                this.bindingSource7.PositionChanged += new EventHandler(this.bindingSource7_PositionChanged);
                if (this.bindingSource7.List.Count > 0)
                {
                    this.bindingSource7.Position = 0;
                }
            }
            else
            {
                this.xtraTabControl3.TabPages.Remove(this.tpJGTZ);
            }
        }

        private void method4()
        {
            if (this.dataSet.Tables["QTJL_SPJE"] != null)
            {
                this.bindingSource8.DataSource = this.dataSet.Tables["QTJL_SPJE"];
                if (this.bindingSource8.List.Count > 0)
                {
                    this.bindingSource8.Position = 0;
                }
            }
            else
            {
                this.xtraTabControl3.TabPages.Remove(this.tpSPJE);
            }
        }

        private void method5()
        {
            if (this.dataSet.Tables["QTJL_CFKLX"] != null)
            {
                this.bindingSource9.DataSource = this.dataSet.Tables["QTJL_CFKLX"];
                if (this.bindingSource9.List.Count > 0)
                {
                    this.bindingSource9.Position = 0;
                }
            }
            else
            {
                this.xtraTabControl3.TabPages.Remove(this.tpCFKLX);
            }
        }

        private void method6()
        {
            if (this.dataSet.Tables["QTJL_DYYFK"] != null)
            {
                this.bindingSource10.DataSource = this.dataSet.Tables["QTJL_DYYFK"];
                if (this.bindingSource10.List.Count > 0)
                {
                    this.bindingSource10.Position = 0;
                }
            }
            else
            {
                this.xtraTabControl3.TabPages.Remove(this.tpDYYFK);
            }
        }

        private void method7()
        {
            if (this.dataSet.Tables["QTJL_CLYFK"] != null)
            {
                this.bindingSource11.DataSource = this.dataSet.Tables["QTJL_CLYFK"];
                this.bindingSource12.DataSource = this.dataSet.Tables["QTJL_CLYFKCL"];
                this.bindingSource13.DataSource = this.dataSet.Tables["QTJL_CLYFKCLPC"];
                this.bindingSource11.PositionChanged += new EventHandler(this.bindingSource11_PositionChanged);
                this.bindingSource12.PositionChanged += new EventHandler(this.bindingSource12_PositionChanged);
                if (this.bindingSource11.List.Count > 0)
                {
                    this.bindingSource11.Position = 0;
                }
            }
            else
            {
                this.xtraTabControl3.TabPages.Remove(this.tpCLYFK);
            }
        }

        private void YfQclfhSo(string _str4)
        {
            DataTable dt = this.dataSet.Tables[_str4];
            if (dt.Rows.Count > 0)
            {
                string newValue = DHelp.GetIds(dt, "id", "");
                string str2 = "select * from #TABLENAME#2 where qcid='#QCID#' and bdid='#BDID#' and pid in (#PID#)";
                string exeStr = "";
                if (_str4.Equals("QDJL_M"))
                {
                    exeStr = str2.Replace("#TABLENAME#", "QDJL_MX").Replace("#PID#", newValue);
                    this.ExecuteDataSetEx(this.dataSet, exeStr, "QDJL_MX");
                    exeStr = str2.Replace("#TABLENAME#", "QDJL_JSS").Replace("#PID#", newValue);
                    this.ExecuteDataSetEx(this.dataSet, exeStr, "QDJL_JSS");
                }
                else if (_str4.Equals("BGQDJL_M"))
                {
                    exeStr = str2.Replace("#TABLENAME#", "BGQDJL_MX").Replace("#PID#", newValue);
                    this.ExecuteDataSetEx(this.dataSet, exeStr, "BGQDJL_MX");
                    exeStr = str2.Replace("#TABLENAME#", "BGQDJL_JSS").Replace("#PID#", newValue);
                    this.ExecuteDataSetEx(this.dataSet, exeStr, "BGQDJL_JSS");
                }
                else if (_str4.Equals("QTJL_JGTZ"))
                {
                    exeStr = str2.Replace("#TABLENAME#", "QTJL_JGTZMX").Replace("#PID#", newValue);
                    this.ExecuteDataSetEx(this.dataSet, exeStr, "QTJL_JGTZMX");
                }
                else if (_str4.Equals("QTJL_CLYFK"))
                {
                    exeStr = str2.Replace("#TABLENAME#", "QTJL_CLYFKCL").Replace("#PID#", newValue);
                    newValue = DHelp.GetIds(this.ExecuteDataSetEx(this.dataSet, exeStr, "QTJL_CLYFKCL"), "id", "");
                    str2 = str2.Replace("#TABLENAME#", "QTJL_CLYFKCLPC").Replace("#PID#", newValue);
                    this.ExecuteDataSetEx(this.dataSet, exeStr, "QTJL_CLYFKCLPC");
                }
            }
        }
    }
}

